1. 25 10月, 2008 4 次提交
    • D
      85xx: Fix the incorrect register used for DDR erratum1 · ae5f943b
      Dave Liu 提交于
      The 8572 DDR erratum1:
      DDR controller may enter an illegal state when operating
      in 32-bit bus mode with 4-beat bursts.
      
      Description:
      When operating with a 32-bit bus, it is recommended that
      DDR_SDRAM_CFG[8_BE] is cleared when DDR2 memories are used.
      This forces the DDR controller to use 4-beat bursts when
      communicating to the DRAMs. However, an issue exists that
      could lead to data corruption when the DDR controller is
      in 32-bit bus mode while using 4-beat bursts.
      
      Projected Impact:
      If the DDR controller is operating in 32-bit bus mode with
      4-beat bursts, then the controller may enter into a bad state.
      All subsequent reads from memory is corrupted.
      Four-beat bursts with a 32-bit bus only is used with DDR2 memories.
      Therefore, this erratum does not affect DDR3 mode.
      
      Work Arounds:
      To work around this issue, software must set DEBUG_1[31] in
      DDR memory mapped space (CCSRBAR offset + 0x2f00 for DDR_1
      and CCSRBAR offset + 0x6f00 for DDR_2).
      
      Currenlty, the code is using incorrect register DDR_SDRAM_CFG_2
      as condition, but it should be DDR_SDRAM_CFG register.
      Signed-off-by: NDave Liu <daveliu@freescale.com>
      ae5f943b
    • D
      85xx: remove unused config definition · d5b69309
      Dave Liu 提交于
      Signed-off-by: NDave Liu <daveliu@freescale.com>
      d5b69309
    • K
      85xx: Add basic e500mc core support · 0f060c3b
      Kumar Gala 提交于
      Introduce CONFIG_E500MC to deal with the minor differences between
      e500v2 and e500mc.
      
      * Certain fields of HID0/1 don't exist anymore on e500mc
      * Cache line size is 64-bytes on e500mc
      * reset value of PIR is different
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      0f060c3b
    • K
      85xx: Use CONFIG_SYS_CACHELINE_SIZE instead of magic number · a38a5b6e
      Kumar Gala 提交于
      Using CONFIG_SYS_CACHELINE_SIZE instead of 31 means we can handle
      e500mc's 64-byte cacheline properly when it gets added.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      a38a5b6e
  2. 22 10月, 2008 12 次提交
  3. 21 10月, 2008 15 次提交
  4. 19 10月, 2008 9 次提交