imx8qxp: Fix build when using SPL
authorHeiko Schocher <hs@denx.de>
Sat, 23 Nov 2024 16:52:49 +0000 (17:52 +0100)
committerFabio Estevam <festevam@gmail.com>
Tue, 26 Nov 2024 02:07:37 +0000 (23:07 -0300)
commit645a42d7ee88dc8c3848c15d178b0f111c636933
treeea05cf64e2ba56b722218d5cda57983b36b54c82
parent1f70e5a0e892464f5365a781b088388a10d0834f
imx8qxp: Fix build when using SPL

imx8qxp based boards which use SPL drop error when
calling make all:
"""
Writing image to './flash.bin'
   Node '/binman/imx-boot/spl': GetData: size 0x0
       Node '/binman/imx-boot': GetPaddedDataForEntry: size 0x0
       Node '/binman/imx-boot': GetData: 1 entries, total size 0x0
       Node '/binman/imx-boot': GetPaddedDataForEntry: size 0x0
Wrote 0x0 bytes
Image 'imx-boot' is missing external blobs and is non-functional: spl

/binman/imx-boot/spl (spl.bin):
   Missing blob

Some images are invalid
"""

Guard creation of flash.bin with CONFIG_XPL_BUILD option.

Signed-off-by: Heiko Schocher <hs@denx.de>
Fixes: c9713c155127 ("imx8-u-boot: Fix SPL guard option")
arch/arm/dts/imx8qxp-u-boot.dtsi