Hi Alex
unfortunately calibration routine can not be run within flash_header.S.
It is too complex for that and described in application Note AN4467 (Rev. 0, 10/2012)
"i.MX 6 Series DDR Calibration"
http://www.freescale.com/files/32bit/doc/app_note/AN4467.pdf
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------