kbuild: Do not append dtb for OF_EMBED case
PATCH v2 1/1 kbuild: Do not append dtb for OF_EMBED case
dtb is already included in binary that's why there is no need to replace u-boot-spl.bin with u-boot-spl-dtb.bin. This is only needed for OF_SEPARATE is enabled. Only copy -nodtb.bin version which is straight output from objcopy -O binary.
---
Changes in v2:
- Refactor based on Masahiro comments
scripts/Makefile.spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile.spl +1 -1
@@ -174,7 +174,7 @@ cmd_cat = cat $(filter-out $(PHONY), $^) > $@ quiet_cmd_copy = COPY $@ cmd_copy = cp $< $@ -ifeq ($(CONFIG_SPL_OF_CONTROL),y) +ifeq ($(CONFIG_SPL_OF_CONTROL)$(CONFIG_OF_SEPARATE),yy) $(obj)/$(SPL_BIN)-dtb.bin: $(obj)/$(SPL_BIN)-nodtb.bin $(obj)/$(SPL_BIN)-pad.bin \ $(obj)/$(SPL_BIN).dtb FORCE $(call if_changed,cat)
Signature · 1 line
1.9.1
PATCH v2 1/1 kbuild: Do not append dtb for OF_EMBED case
2016-04-28 16:08 GMT+09:00 Michal Simek <[email protected]>:
Quoted 6 lines
dtb is already included in binary that's why there is no need to replace u-boot-spl.bin with u-boot-spl-dtb.bin. This is only needed for
OF_SEPARATEis enabled. Only copy -nodtb.bin version which is straight output from objcopy -O binary.Signed-off-by Michal Simek <[email protected]>
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH v2 1/1 kbuild: Do not append dtb for OF_EMBED case
In reply to Michal SimekQuoted 6 lines · Michal Simek
dtb is already included in binary that's why there is no need to replace u-boot-spl.bin with u-boot-spl-dtb.bin. This is only needed for
OF_SEPARATEis enabled. Only copy -nodtb.bin version which is straight output from objcopy -O binary.
Quoted 8 lines
Signed-off-by Michal Simek <[email protected]>---
Changes in v2:
- Refactor based on Masahiro commentsscripts/Makefile.spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 1/1 kbuild: Do not append dtb for OF_EMBED case
In reply to Michal SimekQuoted 8 lines · Michal Simek
dtb is already included in binary that's why there is no need to replace u-boot-spl.bin with u-boot-spl-dtb.bin. This is only needed for
OF_SEPARATEis enabled. Only copy -nodtb.bin version which is straight output from objcopy -O binary.Signed-off-by Michal Simek <[email protected]>Reviewed-by Masahiro Yamada <[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: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160502/a6754920/attachment.sig>