mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
powerpc/mpc8xxx: Fix DDR code for empty first DIMM slot and enable DQS_en
Check second DIMM slot in case the first one is empty. Honor DQS enable option for SDRAM mode register. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@@ -92,6 +92,10 @@ typedef ddr3_spd_eeprom_t generic_spd_eeprom_t;
|
||||
|
||||
#define SDRAM_CFG2_D_INIT 0x00000010
|
||||
#define SDRAM_CFG2_ODT_CFG_MASK 0x00600000
|
||||
#define SDRAM_CFG2_ODT_NEVER 0
|
||||
#define SDRAM_CFG2_ODT_ONLY_WRITE 1
|
||||
#define SDRAM_CFG2_ODT_ONLY_READ 2
|
||||
#define SDRAM_CFG2_ODT_ALWAYS 3
|
||||
|
||||
#define TIMING_CFG_2_CPO_MASK 0x0F800000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user