projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
this is not a platform specific patch
[openwrt.git]
/
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
4661486
..
ed35e36
100644
(file)
--- 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: "
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
-@@ -1
489,6 +1490,9 @@ void __init board_prom_init
(void)
-
-
bcm_gpio_writel(val, GPIO_MODE_REG
);
+@@ -1
596,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();
+
+ 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;
This page took
0.018842 seconds
and
4
git commands to generate.