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-02-18 23:08:26 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-02-18 23:08:26 +0000
commit1122b231f9c73fe30f3a8f270b7ef5d74a43c80b (patch)
treeefeeb2d48e27286ddebc04d643f24feace440ae4 /target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch
parent990ed96a2ab91fec04dcac5b897faad74194ef2f (diff)
downloadupstream-1122b231f9c73fe30f3a8f270b7ef5d74a43c80b.tar.gz
upstream-1122b231f9c73fe30f3a8f270b7ef5d74a43c80b.tar.bz2
upstream-1122b231f9c73fe30f3a8f270b7ef5d74a43c80b.zip
brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9. It also adds sprom from nvram support for devices on the bcma bus. SVN-Revision: 30638
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 5dd7fd771d..5412aa61e0 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
-@@ -199,3 +199,30 @@ int nvram_getenv(char *name, char *val,
+@@ -198,3 +198,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
-@@ -469,3 +469,20 @@ static int __init bcm47xx_register_flash
+@@ -351,3 +351,20 @@ static int __init bcm47xx_register_flash
return -1;
}
fs_initcall(bcm47xx_register_flash);