mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 08:54:04 +02:00
[brcm63xx] fix platform_devices registration
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23517 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7467fdab38
commit
db84fc3025
@ -982,13 +982,13 @@
|
|||||||
#include <board_bcm963xx.h>
|
#include <board_bcm963xx.h>
|
||||||
|
|
||||||
#define PFX "board_bcm963xx: "
|
#define PFX "board_bcm963xx: "
|
||||||
@@ -1489,6 +1490,9 @@ void __init board_prom_init(void)
|
@@ -1596,6 +1597,9 @@ int __init board_register_devices(void)
|
||||||
|
if (board.num_spis)
|
||||||
bcm_gpio_writel(val, GPIO_MODE_REG);
|
spi_register_board_info(board.spis, board.num_spis);
|
||||||
|
|
||||||
+ if (!BCMCPU_IS_6345())
|
+ if (!BCMCPU_IS_6345())
|
||||||
+ bcm63xx_spi_register();
|
+ bcm63xx_spi_register();
|
||||||
+
|
+
|
||||||
/* Generate MAC address for WLAN and
|
/* read base address of boot chip select (0) */
|
||||||
* register our SPROM */
|
if (BCMCPU_IS_6345())
|
||||||
#ifdef CONFIG_SSB_PCIHOST
|
val = 0x1fc00000;
|
||||||
|
Loading…
Reference in New Issue
Block a user