[PATCH v3 5/5] ARM: dts: stm32mp: Add OP-TEE reserved memory to SPL dtb

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri May 28 12:26:51 CEST 2021


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 at gmail.com>
> Reviewed-by: Simon Glass <sjg at 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 at 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



More information about the U-Boot mailing list