summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-08-04 20:04:54 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-08-04 20:04:54 +0000
commit8428ebd8e84d4adef3267fc66c5d94105f79db15 (patch)
tree4c80f88d2fc88cb7f3c7e365eb58e8ad293dc3e3 /target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch
parent85b858fae67e4659cb990601b13ccc2078c1dffd (diff)
downloadmtk-20170518-8428ebd8e84d4adef3267fc66c5d94105f79db15.zip
mtk-20170518-8428ebd8e84d4adef3267fc66c5d94105f79db15.tar.gz
mtk-20170518-8428ebd8e84d4adef3267fc66c5d94105f79db15.tar.bz2
brcm47xx: update patches
* this adds sflash support for ssb devices * the flash is now a platform device * minor updates SVN-Revision: 27902
Diffstat (limited to 'target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch b/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch
index fe23dc6..46d47e3 100644
--- a/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch
+++ b/target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/nvram.c
+++ b/arch/mips/bcm47xx/nvram.c
-@@ -117,3 +117,30 @@ int nvram_getenv(char *name, char *val,
+@@ -199,3 +199,30 @@ int nvram_getenv(char *name, char *val,
return NVRAM_ERR_ENVNOTFOUND;
}
EXPORT_SYMBOL(nvram_getenv);
@@ -33,8 +33,8 @@
+EXPORT_SYMBOL(nvram_get);
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -438,3 +438,20 @@ static int __init bcm47xx_register_flash
- return 0;
+@@ -468,3 +468,20 @@ static int __init bcm47xx_register_flash
+ return -1;
}
fs_initcall(bcm47xx_register_flash);
+