u-boot/arch/arm/mach-stm32mp
Patrick Delaunay 4a1b975dac board: stm32mp1: reserve memory for OP-TEE in device tree
Add reserve memory for OP-TEE in U-Boot and in kernel device tree:
- no more reduce the DDR size in "memory" node:
  CONFIG_SYS_MEM_TOP_HIDE is no more used
- U-Boot device-tree defines the needed "reserved-memory" for OP-TEE
  and U-Boot should not use this reserved memory: board_get_usable_ram_top
  use lmb lib to found the first free region, the not reserved
  memory, enough to relocate U-Boot: the needed size of U-Boot
  is estimated with gd->mon_len + CONFIG_SYS_MALLOC_LEN.
- the optee node ("optee@...": firmware with compatible "linaro,optee-tz")
  and the associated "reserved-memory" are deactivated in kernel device
  tree when OP-TEE is not detected by U-Boot to prevent kernel issue
  (memory is reserved but not used, optee driver probe failed).

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-05-14 09:02:12 +02:00
..
include/mach ARM: dts: stm32: Define FMC2 base address 2020-04-15 09:08:29 +02:00
bsec.c configs: stm32mp1: replace STM32MP1_TRUSTED by TFABOOT 2020-04-15 09:08:37 +02:00
cmd_stm32key.c stm32mp1: key: add stm32key command 2019-07-12 11:18:53 +02:00
config.mk stm32mp1: add trusted boot with TF-A 2019-04-12 16:09:13 +02:00
cpu.c configs: stm32mp1: replace STM32MP1_TRUSTED by TFABOOT 2020-04-15 09:08:37 +02:00
dram_init.c board: stm32mp1: reserve memory for OP-TEE in device tree 2020-05-14 09:02:12 +02:00
fdt.c board: stm32mp1: reserve memory for OP-TEE in device tree 2020-05-14 09:02:12 +02:00
Kconfig Revert "stm32mp1: remove the imply BOOTSTAGE" 2020-04-16 23:06:54 -04:00
Makefile stm32mp1: Makefile cleanup 2019-08-27 11:19:23 +02:00
psci.c stm32mp: psci: set cntfrq register of cpu on 2020-03-24 14:17:38 +01:00
pwr_regulator.c stm32mp1: pwr: use the last binding for pwr 2020-02-13 17:26:22 +01:00
spl.c ARM: stm32: Add board_early_init_f() to SPL 2020-05-14 09:02:12 +02:00
syscon.c stm32mp1: pwr: use the last binding for pwr 2020-02-13 17:26:22 +01:00