Ignore:
Timestamp:
2011-08-02T20:55:46+02:00 (5 years ago)
Author:
florian
Message:

[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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-3.0/452-board_V2500V.patch

    r27448 r27880  
    7373  
    7474 #ifdef CONFIG_BCM63XX_CPU_6358 
    75 @@ -2070,6 +2128,22 @@ void __init board_prom_init(void) 
    76                 val &= MPI_CSBASE_BASE_MASK; 
    77         } 
     75@@ -2064,6 +2122,22 @@ void __init board_prom_init(void) 
     76        val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
     77        val &= MPI_CSBASE_BASE_MASK; 
    7878        boot_addr = (u8 *)KSEG1ADDR(val); 
    7979+       printk(KERN_INFO PFX "Boot address 0x%08x\n",(unsigned int)boot_addr); 
     
    9696        /* dump cfe version */ 
    9797        cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET; 
    98 @@ -2274,6 +2348,14 @@ int __init board_register_devices(void) 
    99                 val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
    100                 val &= MPI_CSBASE_BASE_MASK; 
    101         } 
    102 + 
     98@@ -2265,6 +2339,13 @@ int __init board_register_devices(void) 
     99        val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
     100        val &= MPI_CSBASE_BASE_MASK; 
     101  
    103102+       /* BT Voyager 2500V has 8 Meg flash in two 4 Meg banks */ 
    104103+       /* Loading from CFE always uses Bank 0 */ 
     
    106105+               printk(KERN_INFO PFX "V2500V: Start in Bank 0\n"); 
    107106+               val = val + 0x400000; // Select Bank 0 start address 
    108 +               } 
     107+       } 
    109108+ 
    110109        mtd_resources[0].start = val; 
Note: See TracChangeset for help on using the changeset viewer.