arm: dts: k3-binman: Make optee optional as requirement
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 26 Feb 2024 07:14:15 +0000 (08:14 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 5 Mar 2024 13:40:15 +0000 (08:40 -0500)
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";
};
};

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
arch/arm/dts/k3-binman.dtsi

index 758c8bf..5ef5af3 100644 (file)
                                                keyfile = "custMpk.pem";
                                        };
                                        tee: tee-os {
+                                               optional;
                                        };
                                };
 
                                        entry = <0x9e800000>;
                                        tee-os {
                                                filename = "tee-raw.bin";
+                                               optional;
                                        };
                                };