imx8-u-boot: Fix SPL guard option
authorFabio Estevam <festevam@denx.de>
Fri, 11 Nov 2022 18:46:42 +0000 (15:46 -0300)
committerStefano Babic <sbabic@denx.de>
Sat, 12 Nov 2022 13:13:49 +0000 (14:13 +0100)
We should guard the SPL nodes against CONFIG_SPL_BUILD to fix
the following build error when the blobs are absent:

binman: Fail open first container file mx8qm-ahab-container.img

Signed-off-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8qm-u-boot.dtsi
arch/arm/dts/imx8qxp-u-boot.dtsi

index 442e64b..a3e0af4 100644 (file)
@@ -10,7 +10,7 @@
 };
 
 &binman {
-#ifdef CONFIG_SPL
+#ifdef CONFIG_SPL_BUILD
        u-boot-spl-ddr {
                align = <4>;
                align-size = <4>;
index e8df5bb..7622c40 100644 (file)
@@ -10,7 +10,7 @@
 };
 
 &binman {
-#ifdef CONFIG_SPL
+#ifdef CONFIG_SPL_BUILD
        u-boot-spl-ddr {
                align = <4>;
                align-size = <4>;