1. 12 10月, 2010 5 次提交
    • P
      kirkwood: added common config file mv-common.h · 44f1ec6c
      Prafulla Wadaskar 提交于
      It is observed that, in most of the board configs the code is being
      duplicated, also for any common change all board files needs update
      This issue was under discussion from long on mailing list and we
      converge on introducing common config file.
      
      With this patch-
      1. Total Kirkwood specific configuration code is reduced by 210 lines
      2. All common configuration can be shared by multiple boards
      3. Easy to manage common updates like ARM relocation changes
      
      mv-common.h file is added to include/configs/
      It contains all common configuration supported for all Kirkwood boards
      The respective board configs are updated for its usage
      
      Build tested for guruplug, mv88f6281gtw_ge, openrd_base,
      rd6281a and sheevaplug
      Binary execution tested for sheevaplug
      
      Todo:
      1. Other custom Kirkwood boards to be synced
      2. The support to be extended for Orion5X based boards
      Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com>
      44f1ec6c
    • P
      Kirkwood: dram_init is moved to dram.c · 6edf0f12
      Prafulla Wadaskar 提交于
      For all Kirkwood boards so far dram_init function is duplicated
      dram_init function is moved to dram.c and relevant code from all
      board specific files removed
      
      If any board needs specific dram init handling than standard one,
      then, a macro CONFIG_SYS_BOARD_DRAM_INIT should be defined in
      board config header file and the dram_init function can be put
      in board specific source file
      For ex. keymile boards
      Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com>
      6edf0f12
    • A
      orion5x: optimize window size computation · 3b467ec4
      Albert Aribaud 提交于
      Signed-off-by: NChris Moore <moore@free.fr>
      Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
      3b467ec4
    • P
      Kirkwood: print_cpuinfo fixed for valid devid revid · 35883cca
      Prafulla Wadaskar 提交于
      Earlier Device Identification register was used to detect
      the type for SoC, considering 88F6282 support to be added,
      It is not possible to detect the same using current
      algorithm.
      
      With this patch, device ID is being read using PCIE devid
      register, also valid chip revision ID will also be read and
      displayed
      Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com>
      35883cca
    • A
      mvsata_ide: adjust port init sequence · 7054cfda
      Albert Aribaud 提交于
      mvsata_ide_initialize_port(): adjust init sequence (SStatus
      should be checked only after all writes to SControl) and
      return success/failure to ide_preinit().
      
      Also, as some tests showed init durations in the hundreds
      of us, raise the time-out to 01 ms to be on the safe side.
      Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
      7054cfda
  2. 11 10月, 2010 7 次提交
  3. 07 10月, 2010 28 次提交