diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-02-15 12:23:49 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-02-15 12:23:49 +0000 |
commit | 485e52e1d8325c433ee6351a441dc2dd70948814 (patch) | |
tree | cc6e883e2ff09bff0dddbc7de468a93a6c975632 /target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch | |
parent | 162b8e23a5b6ddc158bd382cbd8ae8b31cac9082 (diff) | |
download | upstream-485e52e1d8325c433ee6351a441dc2dd70948814.tar.gz upstream-485e52e1d8325c433ee6351a441dc2dd70948814.tar.bz2 upstream-485e52e1d8325c433ee6351a441dc2dd70948814.zip |
bcm63xx: make nvram checksum failures non fatal
fixes #12982.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35605
Diffstat (limited to 'target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch b/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch index 402336fdc6..899a894063 100644 --- a/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch +++ b/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch @@ -88,8 +88,8 @@ + if (boot_addr == (u8 *)0xbf800000) { + u8 *tmp_boot_addr = (u8*)0xbfc00000; + -+ if (!bcm63xx_nvram_init(tmp_boot_addr + BCM963XX_NVRAM_OFFSET) && -+ !strcmp(bcm63xx_nvram_get_name(), "V2500V_BB")) { ++ bcm63xx_nvram_init(tmp_boot_addr + BCM963XX_NVRAM_OFFSET); ++ if (!strcmp(bcm63xx_nvram_get_name(), "V2500V_BB")) { + printk(KERN_INFO PFX "V2500V: nvram bank 0\n"); + boot_addr = tmp_boot_addr; + } |