* [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case
@ 2016-04-28 7:08 Michal Simek
2016-04-28 14:34 ` Masahiro Yamada
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michal Simek @ 2016-04-28 7:08 UTC (permalink / raw)
To: u-boot
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.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- Refactor based on Masahiro comments
scripts/Makefile.spl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 33f1a3f3939c..5df860e7ed11 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -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)
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case
2016-04-28 7:08 [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case Michal Simek
@ 2016-04-28 14:34 ` Masahiro Yamada
2016-04-28 17:22 ` Simon Glass
2016-05-02 23:31 ` [U-Boot] [U-Boot, " Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2016-04-28 14:34 UTC (permalink / raw)
To: u-boot
2016-04-28 16:08 GMT+09:00 Michal Simek <michal.simek@xilinx.com>:
> 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.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case
2016-04-28 7:08 [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case Michal Simek
2016-04-28 14:34 ` Masahiro Yamada
@ 2016-04-28 17:22 ` Simon Glass
2016-05-02 23:31 ` [U-Boot] [U-Boot, " Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2016-04-28 17:22 UTC (permalink / raw)
To: u-boot
On 28 April 2016 at 01:08, Michal Simek <michal.simek@xilinx.com> wrote:
>
> 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.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> Changes in v2:
> - Refactor based on Masahiro comments
>
> scripts/Makefile.spl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [U-Boot, v2] kbuild: Do not append dtb for OF_EMBED case
2016-04-28 7:08 [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case Michal Simek
2016-04-28 14:34 ` Masahiro Yamada
2016-04-28 17:22 ` Simon Glass
@ 2016-05-02 23:31 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2016-05-02 23:31 UTC (permalink / raw)
To: u-boot
On Thu, Apr 28, 2016 at 09:08:18AM +0200, Michal Simek wrote:
> 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.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-02 23:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 7:08 [U-Boot] [PATCH v2] kbuild: Do not append dtb for OF_EMBED case Michal Simek
2016-04-28 14:34 ` Masahiro Yamada
2016-04-28 17:22 ` Simon Glass
2016-05-02 23:31 ` [U-Boot] [U-Boot, " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox