]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8mn: protect the firmware/optee node with ifdef
authorTim Harvey <tharvey@gateworks.com>
Thu, 24 Aug 2023 19:01:44 +0000 (12:01 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 06:46:01 +0000 (08:46 +0200)
There is no need to include the firmware/optee node if the optee
driver is not enabled.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mn-u-boot.dtsi

index bc57566a108f5cbd515183236f4379e3d088b79d..5e07055eb5debcd69d0524def792abfd44339b6d 100644 (file)
@@ -8,12 +8,14 @@
                multiple-images;
        };
 
+#ifdef CONFIG_OPTEE
        firmware {
                optee {
                        compatible = "linaro,optee-tz";
                        method = "smc";
                };
        };
+#endif
 
        wdt-reboot {
                compatible = "wdt-reboot";