diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-02-18 23:08:26 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-02-18 23:08:26 +0000 |
commit | 1122b231f9c73fe30f3a8f270b7ef5d74a43c80b (patch) | |
tree | efeeb2d48e27286ddebc04d643f24feace440ae4 /target/linux/brcm47xx/patches-3.2/400-arch-bcm47xx.patch | |
parent | 990ed96a2ab91fec04dcac5b897faad74194ef2f (diff) | |
download | mtk-20170518-1122b231f9c73fe30f3a8f270b7ef5d74a43c80b.zip mtk-20170518-1122b231f9c73fe30f3a8f270b7ef5d74a43c80b.tar.gz mtk-20170518-1122b231f9c73fe30f3a8f270b7ef5d74a43c80b.tar.bz2 |
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.patch | 4 |
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 5dd7fd7..5412aa6 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); |