From 180c221031e78e8e7731b298eecd6629dfb77fa4 Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 29 Mar 2012 15:43:16 +0000 Subject: brcm47xx: add missing breaks into the nvram read code in the switch case statements git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31142 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/brcm47xx/patches-3.2/030-bcm47xx-bcma-nandflash.patch') 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 c9922a8b1..cc76f8309 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"); } -- cgit v1.2.3