Order of DDR calibration function call

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Order of DDR calibration function call

1,635 次查看
niklasmolin
Senior Contributor I

In mx6sabresd.c function board_init_f, would it be okay to move function call spl_dram_init to be done after 

board_early_init_f?

Since after that function I2C is setup and I get info about the board version to know which DCD table (for DDR calibration) that should be used?

I noticed if I do another spl_dram_init (if I keep the first one) to be called after board_early_init_f, the CPU will not boot up.

Thanks,

Niklas

标签 (2)
0 项奖励
回复
3 回复数

1,488 次查看
niklasmolin
Senior Contributor I

Hi Igor.

Thanks for your response.

The question I have is if there could be an issue if I do the DDR calibration after the peripheral clocks etc. are enabled?

Regards,

Niklas

0 项奖励
回复

1,488 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Niklas

 

yes there may be potential issues as enabling peripheral clocks 

may affect mmdc parent frequency and introduce additional noise
on board.
 

Regards,

Niklas

0 项奖励
回复

1,488 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Niklas

usually ddr initialization is performed as first step, then other peripherals

are initialized. More proper way to post it on uboot mail list as nxp does not use

spl in its i.MX6 uboot releases.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复