diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-10-18 19:49:54 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-10-18 19:49:54 +0000 |
commit | 20d28f7685c4dec7ea813e16fabc207230ab26cd (patch) | |
tree | a05eba271128f8940d91409be8857fb063688827 /target/linux/brcm63xx | |
parent | c8c0d4d8e69535d201d16772dbf2c4cc1867220f (diff) | |
download | upstream-20d28f7685c4dec7ea813e16fabc207230ab26cd.tar.gz upstream-20d28f7685c4dec7ea813e16fabc207230ab26cd.tar.bz2 upstream-20d28f7685c4dec7ea813e16fabc207230ab26cd.zip |
fix platform_devices registration
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>
SVN-Revision: 23517
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.35/240-spi.patch | 12 |
1 files changed, 6 insertions, 6 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 4661486bb1..ed35e36893 100644 --- a/target/linux/brcm63xx/patches-2.6.35/240-spi.patch +++ b/target/linux/brcm63xx/patches-2.6.35/240-spi.patch @@ -982,13 +982,13 @@ #include <board_bcm963xx.h> #define PFX "board_bcm963xx: " -@@ -1489,6 +1490,9 @@ void __init board_prom_init(void) - - bcm_gpio_writel(val, GPIO_MODE_REG); +@@ -1596,6 +1597,9 @@ int __init board_register_devices(void) + if (board.num_spis) + spi_register_board_info(board.spis, board.num_spis); + 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; |