]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx93: Add support for OPTEE
authorKrzysztof Drobiński <krzysztof@kd-solutions.pl>
Wed, 10 Jun 2026 14:17:10 +0000 (16:17 +0200)
committerFabio Estevam <festevam@gmail.com>
Fri, 26 Jun 2026 20:08:59 +0000 (17:08 -0300)
OPTEE-OS starts correctly when "opteed" is enabled for Secure Payload
Dispatcher in TF-A (tested on OP-TEE version: 4.9.0), however imx93
devices require a patch for OPTEE targets because binman does not see
the tee.bin file when it is available.

Enable conditional OPTEE support for imx93 devices.

Signed-off-by: Krzysztof Drobiński <krzysztof@kd-solutions.pl>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
arch/arm/dts/imx93-u-boot.dtsi

index a84cdf2bc4592286f9fcb3042c30539385c4ab1a..bd970c955cfedc1255fcd5472bf8b779d944c5cd 100644 (file)
@@ -69,6 +69,9 @@
                                container;
                                image0 = "a55", "bl31.bin", "0x204E0000";
                                image1 = "a55", "u-boot.bin", "0x80200000";
+#if defined(CONFIG_OPTEE)
+                               image2 = "a55", "tee.bin", "0x96000000";
+#endif
                        };
                };
        };