[PATCH] arm: dts: k3-binman: Make optee optional as requirement

Michael Trimarchi
2024-02-25T17:38:44Z

Boards can use the ti_spl_template but avoid to define a tee
node to be loaded. This is true form board with 512Mb or less
memory. We can limit this in configuation removing the tee
node

configurations {
default = "conf-0";

conf-0 {
description = "k3-am62_ccm_m3";
firmware = "atf";
loadables = "dm", "spl";
fdt = "fdt-0";
};
};

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---
arch/arm/dts/k3-binman.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi
index 758c8bf6ea..5ef5af315a 100644
--- a/arch/arm/dts/k3-binman.dtsi
+++ b/arch/arm/dts/k3-binman.dtsi
@@ -293,6 +293,7 @@
keyfile = "custMpk.pem";
};
tee: tee-os {
+ optional;
};
};

@@ -360,6 +361,7 @@
entry = <0x9e800000>;
tee-os {
filename = "tee-raw.bin";
+ optional;
};
};

--
2.40.1