diff options
author | Etienne Carriere <etienne.carriere@linaro.org> | 2020-06-05 09:24:29 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-06-16 10:38:09 +0200 |
commit | 164873a0c02ddbc9a59ad3a0670f17684fc00737 (patch) | |
tree | 44ef9ed0f8b301a20e3e891e999b2a4bb69f7d50 /cmd/boot.c | |
parent | 287be3294af6179782f8a561afca427620504581 (diff) |
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: 4a1b975dac02 ("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>
Diffstat (limited to 'cmd/boot.c')
0 files changed, 0 insertions, 0 deletions