]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8: Jump from alias to OCRAM address at SPL init
authorYe Li <ye.li@nxp.com>
Fri, 12 Jul 2019 09:33:52 +0000 (09:33 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Oct 2019 20:49:12 +0000 (22:49 +0200)
commit9a2738581af7892687fe0c8a6588983452921fb9
tree6a56f05b50aa14fddc0aaa6d317ad2e89743a0e1
parent5e9387130566219ab70170f9c6d98966be5a960a
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 may exceed 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>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
arch/arm/Kconfig
arch/arm/include/asm/arch-imx8/boot0.h [new file with mode: 0644]