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>
This commit is contained in:

committed by
Stefano Babic

parent
93aa9699fc
commit
c0887faade
@@ -8,12 +8,14 @@
|
|||||||
multiple-images;
|
multiple-images;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_OPTEE
|
||||||
firmware {
|
firmware {
|
||||||
optee {
|
optee {
|
||||||
compatible = "linaro,optee-tz";
|
compatible = "linaro,optee-tz";
|
||||||
method = "smc";
|
method = "smc";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
wdt-reboot {
|
wdt-reboot {
|
||||||
compatible = "wdt-reboot";
|
compatible = "wdt-reboot";
|
||||||
|
Reference in New Issue
Block a user