]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi
authorTim Harvey <tharvey@gateworks.com>
Thu, 24 Aug 2023 19:01:43 +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 imx8mp-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>
arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi
arch/arm/dts/imx8mp-evk-u-boot.dtsi
arch/arm/dts/imx8mp-icore-mx8mp-edimm2.2-u-boot.dtsi
arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi
arch/arm/dts/imx8mp-u-boot.dtsi
arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi

index b56f3a2bd2e11addf917b1704d96e07f506b5cfa..c69f7c9c32c09dfa8e79470cea7a12cffb30096c 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &{/soc@0/bus@30800000/i2c@30a20000/pmic@25} {
index 6784ed2e7c92a4b7e73133637e2a061f5b70c217..17965c58ba108626809d6b9478e7a04dcc77194e 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &reg_usdhc2_vmmc {
index d411cf79e85d3a78d122b45a7caf852ee30cdab1..fe20938af5362094d9b5cae2f39548824b95a75d 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &reg_usdhc2_vmmc {
index c4ea536b29bb77672bb3c52c701e34e87b64cb80..22171bd344e38207dd7144cee082d096ccbfb084 100644 (file)
                wdt = <&wdog1>;
                bootph-pre-ram;
        };
-
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
 };
 
 &iomuxc {
index 200938a980727c965cd31603af46931de971b848..694dea149d54075c21996b9ca89a0357afd5374a 100644 (file)
@@ -8,6 +8,15 @@
        binman: binman {
                multiple-images;
        };
+
+#ifdef CONFIG_OPTEE
+       firmware {
+               optee {
+                       compatible = "linaro,optee-tz";
+                       method = "smc";
+               };
+       };
+#endif
 };
 
 &soc {
index 501bc0ce200ee4d90d954a4314baa87cefd645c6..240fbc1b568f2daba79fd212a5fd3ed12dd5fb2b 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mp-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;
index 0162f9b2da375203a94ce71f40f2bd1ebbac8844..fc87d3f4035b4b39e8d79d10a74170a38a966850 100644 (file)
@@ -6,13 +6,6 @@
 #include "imx8mp-u-boot.dtsi"
 
 / {
-       firmware {
-               optee {
-                       compatible = "linaro,optee-tz";
-                       method = "smc";
-               };
-       };
-
        wdt-reboot {
                compatible = "wdt-reboot";
                bootph-pre-ram;