Good day!
I'm performing the build of ATF bootloader from scratch, including DDR calibration on LS1046 ARDB board. The RCW is taken from NXP github - rcw_1800_sdboot.rcw, QCVS tool - version 4.27.00
The calibration on this RCW is successfully passed, and I receive code for DDR init. The values are quite similar to the reference ls1046ardb code from ATF git repo, execept NXP_DDRCLK_FREQ:
In NXP ATF git repo - ##define NXP_DDRCLK_FREQ 10000000
In code from QCVS - ##define NXP_DDRCLK_FREQ 105000000
With reference NXP_DDRCLK_FREQ the board successfully boots.
With QCVS-generated NXP_DDRCLK_FREQ the boot is failed. It seems to me that QCVS is confusing the meaning of NXP_DDRCLK_FREQ.
In CVS world - NXP_DDRCLK_FREQ - DDR bus clock(base memory clock after multipliers).
In real world - NXP_DDRCLK_FREQ - base Memory clock.
Please explain the situation.