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/240-spi.patch

    r27774 r27880  
    171171--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    172172+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
    173 @@ -771,4 +771,116 @@ 
     173@@ -773,4 +773,116 @@ 
    174174 #define DMIPSPLLCFG_N2_SHIFT           29 
    175175 #define DMIPSPLLCFG_N2_MASK            (0x7 << DMIPSPLLCFG_N2_SHIFT) 
     
    920920  
    921921 #define PFX    "board_bcm963xx: " 
    922 @@ -939,6 +940,8 @@ int __init board_register_devices(void) 
     922@@ -933,6 +934,8 @@ int __init board_register_devices(void) 
    923923        if (board.num_spis) 
    924924                spi_register_board_info(board.spis, board.num_spis); 
     
    927927+ 
    928928        /* read base address of boot chip select (0) */ 
    929         if (BCMCPU_IS_6345()) 
    930                 val = 0x1fc00000; 
     929        val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
     930        val &= MPI_CSBASE_BASE_MASK; 
Note: See TracChangeset for help on using the changeset viewer.