mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 02:20:25 +00:00
c8510e397f
When booting in EFI, lib/efi_loader/efi_memory.c calls
board_get_usable_ram_top(0) which returns by default
gd->ram_base + gd->ram_size which is the top of DDR.
In case of OPTEE boot, the top of DDR is currently reserved by OPTEE,
board_get_usable_ram_top(0) must return an address outside OPTEE
reserved memory.
gd->ram_top matches this constraint as it has already been initialized
by substracting all DT reserved-memory (included OPTEE memory area).
Fixes:
|
||
---|---|---|
.. | ||
cmd_stm32prog | ||
include/mach | ||
boot_params.c | ||
bsec.c | ||
cmd_stm32key.c | ||
config.mk | ||
cpu.c | ||
dram_init.c | ||
ecdsa_romapi.c | ||
fdt.c | ||
Kconfig | ||
Makefile | ||
psci.c | ||
pwr_regulator.c | ||
spl.c | ||
syscon.c | ||
tzc400.c |