mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
DDR3 ODT reduce from 120ohm to 60ohm
This commit is contained in:
@@ -1284,6 +1284,9 @@ static __sramfunc void ddr_adjust_config(uint32_t dram_type)
|
||||
idle_port();
|
||||
move_to_Config_state();
|
||||
|
||||
//extend capability for debug
|
||||
pGRF_Reg->GRF_SOC_CON[2] = rank_to_row15_en;
|
||||
|
||||
//set data training address
|
||||
pPHY_Reg->DTAR = value;
|
||||
|
||||
@@ -1293,7 +1296,7 @@ static __sramfunc void ddr_adjust_config(uint32_t dram_type)
|
||||
//adjust DRV and ODT
|
||||
if(dram_type == DDR3)
|
||||
{
|
||||
pPHY_Reg->ZQ0CR[1] = 0x1B; //DS=40ohm,ODT=120ohm
|
||||
pPHY_Reg->ZQ0CR[1] = 0x5B; //DS=40ohm,ODT=60ohm
|
||||
pPHY_Reg->ZQ0CR[0] |= (1<<30); //trigger
|
||||
}
|
||||
if (dram_type == DDR2)
|
||||
|
||||
Reference in New Issue
Block a user