Changeset 16587


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

[brcm63xx] fix the flash address comment and register the flash device again with its proper physical address on 6338/6345

File:
1 edited

Legend:

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

    r16586 r16587  
    325325 
    326326        /* read base address of boot chip select (0)  
    327          * 6338 does not have MPI but boots from standard 
     327         * 6338/6345 does not have MPI but boots from standard 
    328328         * MIPS Flash address */ 
    329329        if (BCMCPU_IS_6338() || BCMCPU_IS_6345()) 
     
    555555 
    556556        /* read base address of boot chip select (0) */ 
    557         val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
    558         val &= MPI_CSBASE_BASE_MASK; 
     557        if (BCMCPU_IS_6338() || BCMCPU_IS_6345()) 
     558                val = 0x1fc0000; 
     559        else { 
     560                val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
     561                val &= MPI_CSBASE_BASE_MASK; 
     562        } 
    559563        mtd_resources[0].start = val; 
    560564        mtd_resources[0].end = 0x1FFFFFFF; 
Note: See TracChangeset for help on using the changeset viewer.