summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-15 12:23:49 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-15 12:23:49 +0000
commit426b10065ac822b91363bf504f2b45309fb939b3 (patch)
tree8fcc7fee297d2d6f0b4c1ac86872f94d254586d5 /target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch
parentab70aef2efe5846992aaa5f3b829318377b13e8e (diff)
bcm63xx: make nvram checksum failures non fatal
fixes #12982. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35605 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch b/target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch
index 402336fdc..20ce84cfd 100644
--- a/target/linux/brcm63xx/patches-3.7/511-board_V2500V.patch
+++ b/target/linux/brcm63xx/patches-3.7/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;
+ }