Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img
PATCH 1/1 Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img
With the current Makefile, CONFIG_BOARD_SIZE_LIMIT is used to check the U-Boot binary without devicetree only. This produces wrong results when OF_SEPARATE is used.
To fix this, run the CONFIG_BOARD_SIZE_LIMIT check on all .img binaries as well.
---
Makefile | 1 + 1 file changed, 1 insertion(+)
Makefile +1 -0
@@ -1198,6 +1198,7 @@ MKIMAGEFLAGS_u-boot.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \ u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \ $(if $(CONFIG_SPL_LOAD_FIT),u-boot-nodtb.bin dts/dt.dtb,u-boot.bin) FORCE $(call if_changed,mkimage) + $(BOARD_SIZE_CHECK) u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE $(call if_changed,mkfitimage)
Signature · 1 line
2.17.1
PATCH 1/1 Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img
Quoted 5 lines · Simon Goldschmidt
With the current
Makefile,CONFIG_BOARD_SIZE_LIMITis used to check the U-Boot binary without devicetree only. This produces wrong results whenOF_SEPARATEis used.
Quoted 8 lines
To fix this, run the
CONFIG_BOARD_SIZE_LIMITcheck on all .img binaries as well.Signed-off-by Simon Goldschmidt <[email protected]>---
Makefile | 1 + 1 file changed, 1 insertion(+)
Quoted 9 lines · Simon Goldschmidt
With the current
Makefile,CONFIG_BOARD_SIZE_LIMITis used to check the U-Boot binary without devicetree only. This produces wrong results whenOF_SEPARATEis used.To fix this, run the
CONFIG_BOARD_SIZE_LIMITcheck on all .img binaries as well.Signed-off-by Simon Goldschmidt <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190116/bc37ef2b/attachment.sig>