]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 442e64badc3906d4e45b28e2a438d51417d74da7..a3e0af48109b9850521065699bb4ee9c88167496 100644 (file)
@@ -10,7 +10,7 @@
 };
 
 &binman {
-#ifdef CONFIG_SPL
+#ifdef CONFIG_SPL_BUILD
        u-boot-spl-ddr {
                align = <4>;
                align-size = <4>;
index e8df5bb8bfea41894042eddc1e81322ed8a8dcb0..7622c40906f1f48b08d5104d33d78bd327db9b75 100644 (file)
@@ -10,7 +10,7 @@
 };
 
 &binman {
-#ifdef CONFIG_SPL
+#ifdef CONFIG_SPL_BUILD
        u-boot-spl-ddr {
                align = <4>;
                align-size = <4>;