diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-03-29 15:43:16 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-03-29 15:43:16 +0000 |
commit | 9992ce3a51bd8a35fb62fa699dc1c85865bafb66 (patch) | |
tree | 9957d69db98cc5581606c6e8daed110f5bf23c60 /target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch | |
parent | 5f87ce91505792bc1482e1f62a8f1c1691d948d7 (diff) | |
download | upstream-9992ce3a51bd8a35fb62fa699dc1c85865bafb66.tar.gz upstream-9992ce3a51bd8a35fb62fa699dc1c85865bafb66.tar.bz2 upstream-9992ce3a51bd8a35fb62fa699dc1c85865bafb66.zip |
brcm47xx: add missing breaks into the nvram read code in the switch case statements
SVN-Revision: 31142
Diffstat (limited to 'target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch b/target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch index c9922a8b14..cc76f83094 100644 --- a/target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch +++ b/target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch @@ -98,14 +98,15 @@ #ifdef CONFIG_BCM47XX_SSB static void early_nvram_init_ssb(void) { -@@ -164,6 +211,10 @@ static void early_nvram_init_bcma(void) - err = early_nvram_init_sflash(); +@@ -168,6 +215,11 @@ static void early_nvram_init_bcma(void) if (err < 0) printk(KERN_WARNING "can not read from flash: %i\n", err); + break; + case BCMA_NFLASH: + err = early_nvram_init_nflash(); + if (err < 0) + printk(KERN_WARNING "can not read from nflash: %i\n", err); ++ break; default: printk(KERN_WARNING "unknow flash type\n"); } |