aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-08-02 18:55:46 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-08-02 18:55:46 +0000
commitc6242377bd4fa1b02f673986805e0fdb56539023 (patch)
treed6afa982df3d17835ac802e946e1e5e3a2635dff /target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch
parent7c92ebfb05801393f3e87e7417ed43d234b44465 (diff)
downloadupstream-c6242377bd4fa1b02f673986805e0fdb56539023.tar.gz
upstream-c6242377bd4fa1b02f673986805e0fdb56539023.tar.bz2
upstream-c6242377bd4fa1b02f673986805e0fdb56539023.zip
[brcm63xx] improve BCM6345 support
- runtime detect the amount of memory available - define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks - fix GPIO control git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27880 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch15
1 files changed, 7 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch b/target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch
index 8ee99847bb..dc1ba793de 100644
--- a/target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch
@@ -72,9 +72,9 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
-@@ -2059,6 +2117,22 @@ void __init board_prom_init(void)
- val &= MPI_CSBASE_BASE_MASK;
- }
+@@ -2053,6 +2111,22 @@ void __init board_prom_init(void)
+ val = bcm_mpi_readl(MPI_CSBASE_REG(0));
+ val &= MPI_CSBASE_BASE_MASK;
boot_addr = (u8 *)KSEG1ADDR(val);
+ printk(KERN_INFO PFX "Boot address 0x%08x\n",(unsigned int)boot_addr);
+
@@ -95,11 +95,10 @@
/* dump cfe version */
cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET;
-@@ -2262,6 +2336,14 @@ int __init board_register_devices(void)
- val = bcm_mpi_readl(MPI_CSBASE_REG(0));
- val &= MPI_CSBASE_BASE_MASK;
- }
-+
+@@ -2253,6 +2327,13 @@ int __init board_register_devices(void)
+ val = bcm_mpi_readl(MPI_CSBASE_REG(0));
+ val &= MPI_CSBASE_BASE_MASK;
+
+ /* BT Voyager 2500V has 8 Meg flash in two 4 Meg banks
+ * Loading from CFE always uses Bank 0 */
+ if (!strcmp(board.name, "V2500V_BB")) {