aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey2023-08-24 12:01:44 -0700
committerStefano Babic2023-10-16 08:46:01 +0200
commitc0887faadeef26c38e3251d7a8e9f2f36c4b580b (patch)
tree07e47d13ff1d23eb93a04306808d051066ed2f98
parent93aa9699fcd64f5534b7fa541cb4a6af01c5daae (diff)
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 <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
-rw-r--r--arch/arm/dts/imx8mn-u-boot.dtsi2
1 files changed, 2 insertions, 0 deletions
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";