aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-03-14 22:59:39 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-03-14 22:59:39 +0000
commitcee31ca2385b5af98d1813df106887042709b7b1 (patch)
treeb3f9c9cc56610ce5fc0b882249af00f5df3120b2 /target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch
parent7fee567dc04fe5614504e0d33f7c8aa46718ce2e (diff)
downloadupstream-cee31ca2385b5af98d1813df106887042709b7b1.tar.gz
upstream-cee31ca2385b5af98d1813df106887042709b7b1.tar.bz2
upstream-cee31ca2385b5af98d1813df106887042709b7b1.zip
brcm47xx: add support for NAND flash on devices using bcma
This patch add support for the NAND flash on BCM5357 based devices like the WNR3500Lv2. Thank you Tathagata Das <tathagata@alumnux.com> for the patch SVN-Revision: 30943
Diffstat (limited to 'target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch
index 38a1fce643..df98b12d49 100644
--- a/target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch
+++ b/target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/nvram.c
+++ b/arch/mips/bcm47xx/nvram.c
-@@ -198,3 +198,30 @@ int nvram_getenv(char *name, char *val,
+@@ -249,3 +249,30 @@ int nvram_getenv(char *name, char *val,
return NVRAM_ERR_ENVNOTFOUND;
}
EXPORT_SYMBOL(nvram_getenv);
@@ -33,7 +33,7 @@
+EXPORT_SYMBOL(nvram_get);
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -355,3 +355,20 @@ static int __init bcm47xx_register_flash
+@@ -376,3 +376,20 @@ static int __init bcm47xx_register_flash
return -1;
}
fs_initcall(bcm47xx_register_flash);