u-boot/arch/arm
Patrice Chotard c8510e397f stm32mp: Fix board_get_usable_ram_top()
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: 92b611e8b0 ("stm32mp: correctly handle board_get_usable_ram_top(0)")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-09-06 10:00:11 +02:00
..
cpu armv8: fsl : create bootcmd and mcinitcmd as per boot source 2021-08-18 15:55:15 +05:30
dts Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh 2021-08-31 18:37:25 -04:00
include imx8ulp: add upower api support 2021-08-09 14:46:51 +02:00
lib Revert "arm: bootm: Disable LMB reservation for command line and board info on arm64" 2021-08-08 11:59:01 -04:00
mach-aspeed common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-at91 arm: Remove at91rm9200ek boards 2021-07-07 22:22:42 -04:00
mach-bcm283x reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-bcmstb
mach-cortina
mach-davinci reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-exynos Merge https://source.denx.de/u-boot/custodians/u-boot-samsung 2021-08-03 09:07:01 -04:00
mach-highbank
mach-imx u-boot-imx-20210809 2021-08-09 09:27:26 -04:00
mach-integrator
mach-ipq40xx dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mach-k3 arm: mach-k3: Cleanup common start_non_linux_remote_cores() 2021-07-27 11:00:44 +05:30
mach-keystone global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
mach-kirkwood arm: kirkwood: Do not overwrite CONFIG_SYS_TCLK 2021-08-11 08:42:26 +02:00
mach-lpc32xx arm: lpc32xx: add EA LPC3250 DevKitv2 board support 2021-07-06 14:12:14 -04:00
mach-mediatek arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
mach-meson Revert "ARM: meson: Add support for fastboot_set_reboot_flag()" 2021-07-30 14:54:03 +02:00
mach-mvebu Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell 2021-09-01 10:11:21 -04:00
mach-nexell global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
mach-octeontx reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-octeontx2 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-omap2 i2c: Rename SPL/TPL_I2C_SUPPORT to I2C 2021-07-28 14:29:37 -04:00
mach-orion5x reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-owl reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-qemu qemu: arm: Initialise virtio devices in board_late_init 2020-12-31 14:41:31 +01:00
mach-rmobile ARM: renesas: Turn on PIE for Gen3 2021-08-08 12:27:04 +02:00
mach-rockchip rockchip: px30: Add support for using SFC 2021-08-12 09:34:11 +08:00
mach-s5pc1xx
mach-snapdragon global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
mach-socfpga arm: socfpga: Enable Intel N5X device build 2021-08-25 15:26:38 +08:00
mach-sti
mach-stm32 Rename DRIVERS_MISC_SUPPORT to DRIVERS_MISC 2021-07-28 14:29:37 -04:00
mach-stm32mp stm32mp: Fix board_get_usable_ram_top() 2021-09-06 10:00:11 +02:00
mach-sunxi i2c: Rename SPL/TPL_I2C_SUPPORT to I2C 2021-07-28 14:29:37 -04:00
mach-tegra Rename GPIO_SUPPORT to GPIO 2021-07-28 14:29:36 -04:00
mach-u8500 board: stemmy: Copy atags for booting downstream/vendor kernel 2021-07-14 16:48:12 -04:00
mach-uniphier global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
mach-versal soc: xilinx: versal: Add soc_xilinx_versal driver 2021-08-26 08:08:11 +02:00
mach-versatile
mach-zynq reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-zynqmp xilinx: zynqmp: Update descriptions for u-boot.its 2021-08-26 08:14:43 +02:00
mach-zynqmp-r5 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
thumb1/include/asm/proc-armv
config.mk ARM: don't use --gc-sections with LTO when using private libgcc 2021-05-24 14:21:30 -04:00
Kconfig Xilinx changes for v2021.10-rc3 2021-08-27 08:33:02 -04:00
Kconfig.debug
Makefile arm: imx: basic i.MX8ULP support 2021-08-09 14:46:50 +02:00