Skip to contentSkip to conversation

arm: dts: k3-binman: Make optee optional as requirement

PATCH In review Michael Trimarchi 2 participants 2 messages Feb 26, 2024 – Mar 5, 2024 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm: dts: k3-binman: Make optee optional as requirement

Allow boards that use ti_spl_template to not use optee part in configuration.
Vendor can have module with 256 Mb of memory and they try to optimize the available memory just using the essential components. This change allow to remove tee from configuration without binman fail.

configurations {
	default = "conf-0";

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

---
V1->V2:
Adjust commit message

---
 arch/arm/dts/k3-binman.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/k3-binman.dtsi +2 -0
index 758c8bf6ea..5ef5af315a 100644
@@ -293,6 +293,7 @@
 						keyfile = "custMpk.pem";
 					};
 					tee: tee-os {
+						optional;
 					};
 				};
 
@@ -360,6 +361,7 @@
 					entry = <0x9e800000>;
 					tee-os {
 						filename = "tee-raw.bin";
+						optional;
 					};
 				};
 
Signature · 1 line
2.40.1
#1 lore raw
Quoted 8 lines · Michael Trimarchi

Allow boards that use ti_spl_template to not use optee part in configuration.
Vendor can have module with 256 Mb of memory and they try to optimize the available memory just using the essential components. This change allow to remove tee from configuration without binman fail.

[...]

Applied to u-boot/next, thanks!

Signature · 1 line
Tom