From: Dalon Westergreen <dwesterg@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] common: add spl/u-boot-spl.hex target
Date: Mon, 10 Sep 2018 10:28:47 -0700 [thread overview]
Message-ID: <20180910172849.16420-2-dwesterg@gmail.com> (raw)
In-Reply-To: <20180910172849.16420-1-dwesterg@gmail.com>
Some devices, namely Intel's stratix10 SoC, require u-boot-spl in
a hex format. This patch adds spl/u-boot-spl.hex as a possible
target.
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
---
Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index f30dd8e9b7..133d7ac773 100644
--- a/Makefile
+++ b/Makefile
@@ -985,6 +985,11 @@ spl/u-boot-spl.srec: spl/u-boot-spl FORCE
OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \
$(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec)
+OBJCOPYFLAGS_u-boot-spl.hex = $(OBJCOPYFLAGS_u-boot.hex)
+
+spl/u-boot-spl.hex: spl/u-boot-spl FORCE
+ $(call if_changed,objcopy)
+
binary_size_check: u-boot-nodtb.bin FORCE
@file_size=$(shell wc -c u-boot-nodtb.bin | awk '{print $$1}') ; \
map_size=$(shell cat u-boot.map | \
--
2.17.1
next prev parent reply other threads:[~2018-09-10 17:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-10 17:28 [U-Boot] [PATCH 0/3] add optional hex output of u-boot-spl Dalon Westergreen
2018-09-10 17:28 ` Dalon Westergreen [this message]
2018-09-11 9:37 ` [U-Boot] [PATCH 1/3] common: add spl/u-boot-spl.hex target Marek Vasut
2018-09-10 17:28 ` [U-Boot] [PATCH 2/3] arm: socfpga: stratix10: add CONFIG_SPL_TARGET Dalon Westergreen
2018-09-11 9:37 ` Marek Vasut
2018-09-10 17:28 ` [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED Dalon Westergreen
2018-09-10 18:14 ` Simon Goldschmidt
2018-09-10 18:21 ` Dalon L Westergreen
2018-09-10 19:05 ` Simon Goldschmidt
2018-09-11 21:55 ` Marek Vasut
2018-09-11 23:55 ` Dalon L Westergreen
2018-09-12 0:03 ` Marek Vasut
2018-09-12 0:05 ` Dalon L Westergreen
2018-09-12 0:07 ` Marek Vasut
2018-09-12 4:36 ` Simon Goldschmidt
2018-09-12 8:41 ` Marek Vasut
2018-09-12 8:49 ` Simon Goldschmidt
2018-09-10 18:06 ` [U-Boot] [PATCH 0/3] add optional hex output of u-boot-spl Simon Goldschmidt
2018-09-10 18:18 ` Dalon L Westergreen
2018-09-10 18:26 ` Simon Goldschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180910172849.16420-2-dwesterg@gmail.com \
--to=dwesterg@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox