u-boot-brain/arch/arm/mach-stm32mp
Etienne Carriere 164873a0c0 board: stm32mp1: fix handling of DT OP-TEE reserved memory nodes
Fix the sequence in stm32mp1 fdt.c that disables OP-TEE resources
defined in FDT when U-boot detects OP-TEE firmware is not present.

Before this change, helper function stm32_fdt_disable_optee()
set property status to "disabled" for the OP-TEE reserved memory
nodes but this has no impact since Linux kernel does not consider
the status property for reserved-memory subnodes. This change
make U-Boot to attempt to delete the node instead.

Fixes: 4a1b975dac ("board: stm32mp1: reserve memory for OP-TEE in device tree")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-06-16 10:38:09 +02:00
..
cmd_stm32prog common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
include/mach common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
boot_params.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bsec.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cmd_stm32key.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
config.mk stm32mp1: add trusted boot with TF-A 2019-04-12 16:09:13 +02:00
cpu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
dram_init.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fdt.c board: stm32mp1: fix handling of DT OP-TEE reserved memory nodes 2020-06-16 10:38:09 +02:00
Kconfig arm: stm32mp: remove dependency for STM32KEY 2020-05-14 09:02:12 +02:00
Makefile stm32mp: add the command stm32prog 2020-05-14 09:02:12 +02:00
psci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pwr_regulator.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
syscon.c stm32mp1: pwr: use the last binding for pwr 2020-02-13 17:26:22 +01:00