Changeset 16585


Ignore:
Timestamp:
2009-06-27T20:23:58+02:00 (7 years ago)
Author:
florian
Message:

[brcm63xx] prevent bcm6338 and bcm6345 from crashing very early

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c

    r16581 r16585  
    324324        u32 val; 
    325325 
    326         /* read base address of boot chip select (0) */ 
    327         val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
    328         val &= MPI_CSBASE_BASE_MASK; 
     326        /* read base address of boot chip select (0)  
     327         * 6338 does not have MPI but boots from standard 
     328         * MIPS Flash address */ 
     329        if (BCMCPU_IS_6338() || BCMCPU_IS_6345()) 
     330                val = 0x1fc00000; 
     331        else { 
     332                val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
     333                val &= MPI_CSBASE_BASE_MASK; 
     334        } 
    329335        boot_addr = (u8 *)KSEG1ADDR(val); 
    330336 
Note: See TracChangeset for help on using the changeset viewer.