From 9f1ce385e1fa677d56d99ab4bdcd5f0475a5602d Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 12 Sep 2010 21:23:35 +0000 Subject: [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 --- target/linux/brcm63xx/patches-2.6.35/240-spi.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/brcm63xx/patches-2.6.35/240-spi.patch') 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 79e7ac630..800b22811 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 #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; -- cgit v1.2.3