diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-06-28 22:21:57 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2011-06-28 22:21:57 +0000 |
commit | 4c18da3df65146d5148dc241c7b6cd1ccc2bcee8 (patch) | |
tree | 03eb26311c9d4c410cb9180ccc08a4e00a22433b /target/linux/brcm47xx/patches-3.0/400-arch-bcm47xx.patch | |
parent | 3f0eed15a2c8140943f66e31806054c7550377ae (diff) | |
download | mtk-20170518-4c18da3df65146d5148dc241c7b6cd1ccc2bcee8.zip mtk-20170518-4c18da3df65146d5148dc241c7b6cd1ccc2bcee8.tar.gz mtk-20170518-4c18da3df65146d5148dc241c7b6cd1ccc2bcee8.tar.bz2 |
brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental.
SVN-Revision: 27301
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.patch | 8 |
1 files changed, 4 insertions, 4 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 14b4088..8e5e88b 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 -@@ -93,3 +93,30 @@ int nvram_getenv(char *name, char *val, +@@ -114,3 +114,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 -@@ -312,3 +312,20 @@ void __init plat_mem_setup(void) - _machine_halt = bcm47xx_machine_halt; - pm_power_off = bcm47xx_machine_halt; +@@ -388,3 +388,20 @@ static int __init bcm47xx_register_bus_c + return 0; } + device_initcall(bcm47xx_register_bus_complete); + +static int __init bcm47xx_register_gpiodev(void) +{ |