MLK-21848-8 imx8: Jump from alias to OCRAM address at SPL init
authorYe Li <ye.li@nxp.com>
Fri, 26 Apr 2019 02:13:35 +0000 (19:13 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 10:38:55 +0000 (03:38 -0700)
commit19663a44ad20efd13cd3a3299a11371f342225fc
tree4df0bb57e1cd6ac6e362cae92543a3b8a8d9c64d
parent74bee9530ba918c2a16a1df5baad6cd5b6193da9
MLK-21848-8 imx8: Jump from alias to OCRAM address at SPL init

When running SPL on iMX8, the A core starts at address 0
which is a alias to OCRAM 0x100000.
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 always beyonds 96KB.
So to fix the problem, we will change SPL linker address to OCRAM
address 0x100000. And then jump to the absolute address not the PC relative
address for entering OCRAM.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/imx8/lowlevel_init.S