Browse Source

abnormal type ddr manually config define

Change-Id: I54390ebcabbf5158c88524aafa04c2c0a7122fd0
master
baoqingyuan 6 years ago
committed by wusheng
parent
commit
81583ec073
  1. 2
      Targets/LS2K/ls2k/ddr_dir/lsmc_config_param.S
  2. 2
      Targets/LS2K/ls2k/start.S

2
Targets/LS2K/ls2k/ddr_dir/lsmc_config_param.S

@ -304,6 +304,7 @@ set_tREFI:
or t1, t1, t8 or t1, t1, t8
sb a2, 0x3(t1) sb a2, 0x3(t1)
#ifndef NO_AUTO_TRFC
set_tRFC: set_tRFC:
GET_MC0_MEMSIZE GET_MC0_MEMSIZE
beqz t3, 1f beqz t3, 1f
@ -378,6 +379,7 @@ x8:
sb t5, 0x2(t1) sb t5, 0x2(t1)
2: 2:
#endif
//for UDIMM 4cs,open 2T mode //for UDIMM 4cs,open 2T mode
GET_DIMM_TYPE GET_DIMM_TYPE

2
Targets/LS2K/ls2k/start.S

@ -820,7 +820,7 @@ start_now:
//#define DEBUG_DDR_PARAM //#define DEBUG_DDR_PARAM
//#define PRINT_DDR_LEVELING //#define PRINT_DDR_LEVELING
//#define DLL_DELAY_LOOP //#define DLL_DELAY_LOOP
//#define NO_AUTO_TRFC //adjust TRFC param manually if defined
TTYDBG("\r\nStart Init Memory, wait a while......\r\n") TTYDBG("\r\nStart Init Memory, wait a while......\r\n")
#################################### ####################################
move msize, $0 move msize, $0

Loading…
Cancel
Save