From db84fc3025e2cc89d34cc270e7c9b75177d73292 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 18 Oct 2010 19:49:54 +0000 Subject: [brcm63xx] fix platform_devices registration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tanguy Bouzéloc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23517 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/patches-2.6.35/240-spi.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/brcm63xx/patches-2.6.35') 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 4661486bb..ed35e3689 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 #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; -- cgit v1.2.3