mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
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: c9713c1551
("imx8-u-boot: Fix SPL guard option")
This commit is contained in:
parent
1f70e5a0e8
commit
645a42d7ee
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
#ifdef CONFIG_XPL_BUILD
|
||||
imx-boot {
|
||||
filename = "flash.bin";
|
||||
pad-byte = <0x00>;
|
||||
|
@ -130,4 +131,5 @@
|
|||
type = "blob-ext";
|
||||
};
|
||||
};
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue