summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-02-15 12:23:49 +0000
committerJonas Gorski <jogo@openwrt.org>2013-02-15 12:23:49 +0000
commit485e52e1d8325c433ee6351a441dc2dd70948814 (patch)
treecc6e883e2ff09bff0dddbc7de468a93a6c975632 /target/linux/brcm63xx/patches-3.8/511-board_V2500V.patch
parent162b8e23a5b6ddc158bd382cbd8ae8b31cac9082 (diff)
downloadmtk-20170518-485e52e1d8325c433ee6351a441dc2dd70948814.zip
mtk-20170518-485e52e1d8325c433ee6351a441dc2dd70948814.tar.gz
mtk-20170518-485e52e1d8325c433ee6351a441dc2dd70948814.tar.bz2
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.patch4
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 402336f..899a894 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;
+ }