Browse Source

fix previous missing hard leveling

Change-Id: I710157ce3ef827f2c47a5bd5378a186890e39c13
master
Huang Pei 9 years ago
parent
commit
ee129494e7
  1. 8
      pmon/arch/mips/mm/ls3A8_ddr_config.S
  2. 8
      pmon/arch/mips/mm/ls3B5_ddr_config.S

8
pmon/arch/mips/mm/ls3A8_ddr_config.S

@ -259,7 +259,12 @@ mc_init:
8:
#else
#ifdef DDR3_DIMM //hard leveling
#ifndef DISABLE_HARD_LEVELING
dli a2, 0x3
GET_SDRAM_TYPE
bne a1, a2, 88f
nop
//DDR3 SDRAM, do hard leveling
PRINTSTR("Start Hard Leveling...\r\n")
TTYDBG("\r\nEnable register space of MEMORY\r\n")
bal enable_mc_conf_space
@ -356,6 +361,7 @@ mc_init:
//TTYDBG("Disable register space of MEMORY\r\n")
bal disable_mc_conf_space
nop
88:
#endif
#endif

8
pmon/arch/mips/mm/ls3B5_ddr_config.S

@ -250,7 +250,12 @@ mc_init:
8:
#else
#ifdef DDR3_DIMM //hard leveling
#ifndef DISABLE_HARD_LEVELING
dli a2, 0x3
GET_SDRAM_TYPE
bne a1, a2, 88f
nop
//DDR3 SDRAM, do hard leveling
PRINTSTR("Start Hard Leveling...\r\n")
TTYDBG("\r\nEnable register space of MEMORY\r\n")
bal enable_mc_conf_space
@ -354,6 +359,7 @@ mc_init:
//TTYDBG("Disable register space of MEMORY\r\n")
bal disable_mc_conf_space
nop
88:
#endif
#endif

Loading…
Cancel
Save