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
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
Hi Niklas
yes there may be potential issues as enabling peripheral clocks
may affect mmdc parent frequency and introduce additional noiseRegards,
Niklas
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!
-----------------------------------------------------------------------------------------------------------------------