From: Tim Harvey Date: Thu, 24 Aug 2023 19:01:44 +0000 (-0700) Subject: arm: dts: imx8mn: protect the firmware/optee node with ifdef X-Git-Tag: v2024.01-rc1~15^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0887faadeef26c38e3251d7a8e9f2f36c4b580b;p=pandora-u-boot.git arm: dts: imx8mn: protect the firmware/optee node with ifdef There is no need to include the firmware/optee node if the optee driver is not enabled. Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts/imx8mn-u-boot.dtsi index bc57566a108..5e07055eb5d 100644 --- a/arch/arm/dts/imx8mn-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-u-boot.dtsi @@ -8,12 +8,14 @@ multiple-images; }; +#ifdef CONFIG_OPTEE firmware { optee { compatible = "linaro,optee-tz"; method = "smc"; }; }; +#endif wdt-reboot { compatible = "wdt-reboot";