X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm63xx%2Fpatches-2.6.35%2F240-spi.patch;h=ed35e3689339763f00d605b7bf87e117abf82f02;hb=d2ca272aeec5d6b78510f1805c54205744f64f93;hp=4661486bb15db9083f23d50b5c63f2677a6f4e34;hpb=f8c314a2455ed986b8d73d1aa7cb61a1448f4077;p=openwrt.git 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 #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;