]> git.baikalelectronics.ru Git - uboot.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)
commitcbc727c509122f4c5697f8361809dcf2edcaa8bd
treeddcc549349d9ab18d5e93dd65bde41d466b44684
parent6666285a48c156e5e109f55a428957a27f4ef083
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