1. 31 1月, 2018 2 次提交
    • Y
      drivers/ddr/fsl: Add 3DS RDIMM support · c0c32af0
      York Sun 提交于
      On top of RDIMM support, add new register calculation to support
      3DS RDIMMs. Only symmetrical 3DS is supported at this time.
      Signed-off-by: NYork Sun <york.sun@nxp.com>
      c0c32af0
    • Y
      drivers/ddr/fsl: Fix DDR4 RDIMM support · 426230a6
      York Sun 提交于
      For DDR4, command/address delay in mode registers and parity latency
      in timing config register are only needed for UDIMMs, but not RDIMMs.
      Add additional register rcw_3 for DDR4 RDIMM. Fix mirrored bit for
      dual rank RDIMMs. Set sdram_cfg_3[DIS_MRS_PAR] for RDIMMs. Fix
      calculation of timing config registers. Use hexadecimal format for
      printing RCW (register control word) registers.
      Signed-off-by: NYork Sun <york.sun@nxp.com>
      426230a6
  2. 13 4月, 2017 1 次提交
  3. 19 1月, 2017 1 次提交
  4. 06 12月, 2016 1 次提交
  5. 15 9月, 2016 1 次提交
  6. 18 5月, 2016 3 次提交
  7. 22 3月, 2016 1 次提交
  8. 26 1月, 2016 1 次提交
  9. 19 1月, 2016 1 次提交
  10. 14 12月, 2015 1 次提交
  11. 31 10月, 2015 1 次提交
  12. 23 4月, 2015 2 次提交
  13. 12 12月, 2014 1 次提交
  14. 25 9月, 2014 2 次提交
  15. 09 9月, 2014 1 次提交
  16. 23 4月, 2014 2 次提交
  17. 22 2月, 2014 1 次提交
  18. 26 11月, 2013 1 次提交
  19. 17 10月, 2013 1 次提交
  20. 10 8月, 2013 2 次提交
  21. 23 10月, 2012 3 次提交
    • Y
      powerpc/mpc8xxx: Fix DDR initialization waiting for D_INIT · f31cfd19
      York Sun 提交于
      When ECC is enabled, DDR controller needs to initialize the data and ecc.
      The wait time can be calcuated with total memory size, bus width, bus speed
      and interleaving mode. If it went wrong, it is bettert to timeout than
      waiting for D_INIT to clear, where it probably hangs.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      f31cfd19
    • Y
      powerpc/mpc8xxx: Fix DDR driver handling quad-rank DIMMs and address calculation · 123922b1
      York Sun 提交于
      Fix handling quad-rank DIMMs in a system with two DIMM slots and first
      slot supports both dual-rank DIMM and quad-rank DIMM.
      
      For systems with quad-rank DIMM and double dual-rank DIMMs, cs_config
      registers need to be enabled to maintain proper ODT operation. The
      inactive CS should have bnds registers cleared.
      
      Fix the turnaround timing for systems with all chip-selects enabled. This
      wasn't an issue before because DDR was running lower than 1600MT/s with
      this interleaving mode.
      
      Fix DDR address calculation. It wasn't an issue until we have multiple
      controllers with each more than 4GB and interleaving is disabled.
      
      It also fixes the message of DDR: 2 GiB (DDR3, 64-bit, CL=0.5, ECC off)
      when debugging DDR and first DDR controller is disabled. With the fix,
      the first enabled controller information will be displayed.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      123922b1
    • Y
      powerpc/mpc8xxx: Update DDR registers · 57495e4e
      York Sun 提交于
      DDRC ver 4.7 adds DDR_SLOW bit in sdram_cfg_2 register. This bit needs to be
      set for speed lower than 1250MT/s.
      
      CDR1 and CDR2 are control driver registers. ODT termination valueis for
      IOs are defined. Starting from DDRC 4.7, the decoding of ODT for IOs is
      	000 -> Termsel off
      	001 -> 120 Ohm
      	010 -> 180 Ohm
      	011 -> 75 Ohm
      	100 -> 110 Ohm
      	101 -> 60 Ohm
      	110 -> 70 Ohm
      	111 -> 47 Ohm
      
      Add two write leveling registers. Each QDS now has its own write leveling
      start value. In case of zero value, the value of QDS0 will be used. These
      values are board-specific and are set in board files.
      
      Extend DDR register timing_cfg_1 to have 4 bits for each field.
      
      DDR control driver registers and write leveling registers are added to
      interactive debugging for easy access.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      57495e4e
  22. 24 8月, 2012 1 次提交
  23. 23 8月, 2012 1 次提交
  24. 30 9月, 2011 2 次提交
  25. 12 7月, 2011 2 次提交
  26. 05 4月, 2011 1 次提交
  27. 04 4月, 2011 2 次提交
  28. 03 2月, 2011 1 次提交