]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8m: soc: Relocate u-boot to the top DDR in 4GB space
authorYe Li <ye.li@nxp.com>
Thu, 7 Apr 2022 07:55:56 +0000 (15:55 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:44 +0000 (19:10 +0200)
commit1c9bc0fffa1a84733399c353558da268b9fdcaab
treeddcc549349d9ab18d5e93dd65bde41d466b44684
parent1166bd433ab83bf889764f572410ec6814e01e9d
imx8m: soc: Relocate u-boot to the top DDR in 4GB space

The EFI memory init uses gd->ram_top for conventional memory. In
current implementation, the ram_top is below optee address. This cause
grub failed to allocation memory for initrd.
The change updates DDR bank setup functions to place the u-boot at top
DDR in 4GB space.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c