Message ID | 20210415164829.2302939-6-mr.nuke.me@gmail.com |
---|---|
State | Superseded |
Delegated to: | Patrice Chotard |
Headers | show |
Series | stm32mp: Enable OP-TEE and TZC support in SPL | expand |
Hi Alexandru, On 4/15/21 6:48 PM, Alexandru Gagniuc wrote: > Add the "/reserved-memory/optee" node to the SPL devicetree. The > purpose is to allow configuring TZC regions when booting OP-TEE. > > Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > --- > arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi > index 6787619290..9c4100c39c 100644 > --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi > @@ -30,9 +30,12 @@ > }; > > reserved-memory { > + u-boot,dm-pre-reloc; > + > optee@de000000 { > reg = <0xde000000 0x02000000>; > no-map; > + u-boot,dm-pre-reloc; > }; > }; > As it is only needed by SPL, and not by U-Boot before relocation, can you replace u-boot,dm-pre-reloc; by u-boot,dm-spl; it should be more clear. Regards Patrick
diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi index 6787619290..9c4100c39c 100644 --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi @@ -30,9 +30,12 @@ }; reserved-memory { + u-boot,dm-pre-reloc; + optee@de000000 { reg = <0xde000000 0x02000000>; no-map; + u-boot,dm-pre-reloc; }; };