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-06-19 20:12:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-06-19 20:12:45 +0000
commit6bb0a608dc24f7f50f026a58cfdcb5b1573eb993 (patch)
tree205bed85785e83f0c53f9b4a8047fb58f5be0a3c /target/linux/brcm63xx/patches-2.6.39/452-board_V2500V.patch
parentbcada2640b2cdeada7b40b64ea7df6d163049650 (diff)
downloadupstream-6bb0a608dc24f7f50f026a58cfdcb5b1573eb993.tar.gz
upstream-6bb0a608dc24f7f50f026a58cfdcb5b1573eb993.tar.bz2
upstream-6bb0a608dc24f7f50f026a58cfdcb5b1573eb993.zip
switch to 2.6.39
SVN-Revision: 27232
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.patch23
1 files changed, 11 insertions, 12 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 4b483d4ec5..981195983c 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
-@@ -2057,6 +2115,22 @@ void __init board_prom_init(void)
- val &= MPI_CSBASE_BASE_MASK;
- }
+@@ -2051,6 +2109,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,17 +95,16 @@
/* dump cfe version */
cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET;
-@@ -2264,6 +2338,14 @@ 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 */
+@@ -2255,6 +2329,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")) {
+ printk(KERN_INFO PFX "V2500V: Start in Bank 0\n");
-+ val = val + 0x400000; // Select Bank 0 start address
-+ }
++ val = val + 0x400000; /* Select Bank 0 start address */
++ }
+
mtd_resources[0].start = val;
mtd_resources[0].end = 0x1FFFFFFF;