diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-08-04 20:04:54 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2011-08-04 20:04:54 +0000 |
commit | 8428ebd8e84d4adef3267fc66c5d94105f79db15 (patch) | |
tree | 4c80f88d2fc88cb7f3c7e365eb58e8ad293dc3e3 /target/linux/brcm47xx/patches-3.0/812-disable_wgt634u_crap.patch | |
parent | 85b858fae67e4659cb990601b13ccc2078c1dffd (diff) | |
download | upstream-8428ebd8e84d4adef3267fc66c5d94105f79db15.tar.gz upstream-8428ebd8e84d4adef3267fc66c5d94105f79db15.tar.bz2 upstream-8428ebd8e84d4adef3267fc66c5d94105f79db15.zip |
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/812-disable_wgt634u_crap.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.0/812-disable_wgt634u_crap.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/brcm47xx/patches-3.0/812-disable_wgt634u_crap.patch b/target/linux/brcm47xx/patches-3.0/812-disable_wgt634u_crap.patch index 39a765b5fe..6bc34549fe 100644 --- a/target/linux/brcm47xx/patches-3.0/812-disable_wgt634u_crap.patch +++ b/target/linux/brcm47xx/patches-3.0/812-disable_wgt634u_crap.patch @@ -3,7 +3,7 @@ @@ -4,4 +4,3 @@ # - obj-y += gpio.o irq.o nvram.o prom.o serial.o setup.o time.o + obj-y += gpio.o irq.o nvram.o prom.o serial.o setup.o time.o bus.o -obj-$(CONFIG_BCM47XX_SSB) += wgt634u.o --- a/arch/mips/bcm47xx/wgt634u.c +++ /dev/null @@ -144,7 +144,7 @@ - */ - u8 *et0mac; - -- if (bcm47xx_active_bus_type != BCM47XX_BUS_TYPE_SSB) +- if (bcm47xx_bus_type != BCM47XX_BUS_TYPE_SSB) - return -ENODEV; - - et0mac = bcm47xx_bus.ssb.sprom.et0mac; @@ -166,10 +166,10 @@ - SSB_CHIPCO_IRQ_GPIO); - } - -- wgt634u_flash_data.width = mcore->flash_buswidth; -- wgt634u_flash_resource.start = mcore->flash_window; -- wgt634u_flash_resource.end = mcore->flash_window -- + mcore->flash_window_size +- wgt634u_flash_data.width = mcore->pflash.buswidth; +- wgt634u_flash_resource.start = mcore->pflash.window; +- wgt634u_flash_resource.end = mcore->pflash.window +- + mcore->pflash.window_size - - 1; - return platform_add_devices(wgt634u_devices, - ARRAY_SIZE(wgt634u_devices)); |