diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-09-12 21:23:35 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-09-12 21:23:35 +0000 |
commit | 61db512e5c9ab478e2a35623b1a57737236d9deb (patch) | |
tree | 7987058b2a327a6d3c8c0c23d94f2b32e097f543 /target/linux/brcm63xx/patches-2.6.35/240-spi.patch | |
parent | 3506323f4a001a360436de36b6655625ebecab66 (diff) | |
download | master-187ad058-61db512e5c9ab478e2a35623b1a57737236d9deb.tar.gz master-187ad058-61db512e5c9ab478e2a35623b1a57737236d9deb.tar.bz2 master-187ad058-61db512e5c9ab478e2a35623b1a57737236d9deb.zip |
[brcm63xx] register udc and spi devices at the correct init level
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23035 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.35/240-spi.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.35/240-spi.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.35/240-spi.patch b/target/linux/brcm63xx/patches-2.6.35/240-spi.patch index 79e7ac6305..800b228116 100644 --- a/target/linux/brcm63xx/patches-2.6.35/240-spi.patch +++ b/target/linux/brcm63xx/patches-2.6.35/240-spi.patch @@ -944,13 +944,13 @@ #include <board_bcm963xx.h> #define PFX "board_bcm963xx: " -@@ -1459,6 +1460,9 @@ void __init board_prom_init(void) +@@ -1557,6 +1558,9 @@ int __init board_register_devices(void) if (board.has_udc0) bcm63xx_udc_register(); + if (!BCMCPU_IS_6345()) + bcm63xx_spi_register(); + - /* Generate MAC address for WLAN and - * register our SPROM */ - #ifdef CONFIG_SSB_PCIHOST + /* read base address of boot chip select (0) */ + if (BCMCPU_IS_6345()) + val = 0x1fc00000; |