]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi
authorTim Harvey <tharvey@gateworks.com>
Thu, 24 Aug 2023 19:01:42 +0000 (12:01 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 06:46:01 +0000 (08:46 +0200)
Move the firmware/optee node to the common imx8mm-u-boot.dtsi and
protect it with an ifdef CONFIG_OPTEE as it is a meaningless node
without the optee driver enabled.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi
arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi
arch/arm/dts/imx8mm-evk-u-boot.dtsi
arch/arm/dts/imx8mm-kontron-bl-common-u-boot.dtsi
arch/arm/dts/imx8mm-phg-u-boot.dtsi
arch/arm/dts/imx8mm-u-boot.dtsi
arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi

index d93e1cbd8a7153b1f8c16949268ccda90f275ab8..c4327d318736972f1952ccd70dc851cefb2713dc 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;
index 1878c4e13fbea20178b8945cdc3504539f0df8ae..219504f61105d12854cd17a05051bb60d54587b8 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;
index 13688ec0d0f2620c186f607c2a1975acf671f539..155670da18d1ad999b623695306707fc77632e54 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &aips4 {
index 65dfd33725ee967f7b2591bcf9c3e12b9e041ac1..1ad9d49a1118d518354d4f267e5de9b4149c3590 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &crypto {
index 3ced97cfaafa5681f5606262d326056fba0c0387..c9e0b4420500f94633b811bc15801152951d25fb 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &aips4 {
index 6085128e24ecb9adbddfbe923f44f2a1940ce153..f7eb29c73648955b77fa08ea433f3c29b2b173e0 100644 (file)
@@ -7,6 +7,15 @@
        binman: binman {
                multiple-images;
        };
+
+#ifdef CONFIG_OPTEE
+       firmware {
+               optee {
+                       compatible = "linaro,optee-tz";
+                       method = "smc";
+               };
+       };
+#endif
 };
 
 &soc {
index b06ce3fa034b88f3c774862e38398730080577bf..8efa4ddc734a98adf5b8db1a0899496f3314be76 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mm-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;