imx8: Jump from alias to OCRAM address at SPL init
PATCH 1/2 imx8: Jump from alias to OCRAM address at SPL init
Quoted 10 lines
When running SPL on iMX8, the A core starts at address 0
which is a alias to OCRAM0x100000.
The alias only map first 96KB of OCRAM, so this require the
SPL size can't beyond 96KB. But when using SPL DM, the size increase significantly and may exceed 96KB.
So to fix the problem, we will change SPL linker address to OCRAM address0x100000. And then jump to the absolute address not the PC relative address for entering OCRAM.Signed-off-by Ye Li <[email protected]>Reviewed-by Oleksandr Suvorov <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================