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-07-22 16:30:42 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-07-22 16:30:42 +0000
commitb988168906126ce52eeff275d0ec6eac75c7ed89 (patch)
tree633c44c5b54e1d59a2efa989cb0d13a863e7ae8f /target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch
parent39f491e479eb74e6645ea6dce2219ff7d26570d1 (diff)
downloadmtk-20170518-b988168906126ce52eeff275d0ec6eac75c7ed89.zip
mtk-20170518-b988168906126ce52eeff275d0ec6eac75c7ed89.tar.gz
mtk-20170518-b988168906126ce52eeff275d0ec6eac75c7ed89.tar.bz2
brcm47xx: update bcma and ssb to master-2011-07-21
* add new patches for bcm4716 SoC * add support for serial flash on bcma bus SVN-Revision: 27723
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 8e5e88b..fe23dc6 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
-@@ -114,3 +114,30 @@ int nvram_getenv(char *name, char *val,
+@@ -117,3 +117,30 @@ int nvram_getenv(char *name, char *val,
return NVRAM_ERR_ENVNOTFOUND;
}
EXPORT_SYMBOL(nvram_getenv);
@@ -33,10 +33,10 @@
+EXPORT_SYMBOL(nvram_get);
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -388,3 +388,20 @@ static int __init bcm47xx_register_bus_c
+@@ -438,3 +438,20 @@ static int __init bcm47xx_register_flash
return 0;
}
- device_initcall(bcm47xx_register_bus_complete);
+ fs_initcall(bcm47xx_register_flash);
+
+static int __init bcm47xx_register_gpiodev(void)
+{