From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/3] u-boot: Add two new u-boot image targets.
Date: Fri, 26 Aug 2022 15:35:36 +0200 [thread overview]
Message-ID: <20220826133537.1843791-2-christian.melki@t2data.com> (raw)
In-Reply-To: <20220826133537.1843791-1-christian.melki@t2data.com>
YAUTI? Yet another u-boot target image.
These are needed. Because U-boot also has targets
that differentiate between oldschool u-boot.bin,
u-boot-dtb.bin (with dtb) and these two, when
dtbs are split out. u-boot.dtb and u-boot-nodtb.bin.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
platforms/u-boot.in | 12 ++++++++++++
rules/u-boot.make | 6 ++++++
2 files changed, 18 insertions(+)
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index 8c7931d13..1808283ca 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -185,6 +185,18 @@ config U_BOOT_INSTALL_U_BOOT_BIN
help
Installing the U-Boot default binary target.
+config U_BOOT_INSTALL_U_BOOT_NODTB
+ prompt "install u-boot-nodtb.bin"
+ bool
+ help
+ Installing the U-Boot default bin file without dtb.
+
+config U_BOOT_INSTALL_U_BOOT_ONLY_DTB
+ prompt "install u-boot.dtb"
+ bool
+ help
+ Installing the U-Boot default dtb file.
+
config U_BOOT_INSTALL_SREC
prompt "install u-boot.srec"
bool
diff --git a/rules/u-boot.make b/rules/u-boot.make
index 1ba6d47b0..0b632e8b2 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -145,6 +145,12 @@ $(STATEDIR)/u-boot.targetinstall:
ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_BIN
@$(call ptx/image-install, U_BOOT, $(U_BOOT_BUILD_DIR)/u-boot.bin)
endif
+ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_ONLY_DTB
+ @$(call ptx/image-install, U_BOOT, $(U_BOOT_BUILD_DIR)/u-boot.dtb)
+endif
+ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_NODTB
+ @$(call ptx/image-install, U_BOOT, $(U_BOOT_BUILD_DIR)/u-boot-nodtb.bin)
+endif
ifdef PTXCONF_U_BOOT_INSTALL_SREC
@$(call ptx/image-install, U_BOOT, $(U_BOOT_BUILD_DIR)/u-boot.srec)
endif
--
2.34.1
next prev parent reply other threads:[~2022-08-26 13:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 13:35 [ptxdist] [PATCH 1/3] u-boot: Move u-boot URL to github Christian Melki
2022-08-26 13:35 ` Christian Melki [this message]
2022-08-26 13:35 ` [ptxdist] [PATCH 3/3] u-boot: Move image copying from targetinstall to install Christian Melki
2022-08-30 7:25 ` Michael Olbrich
2022-08-30 7:41 ` Christian Melki
2022-08-29 8:49 ` [ptxdist] [PATCH 1/3] u-boot: Move u-boot URL to github Alexander Dahl
2022-08-29 16:57 ` Christian Melki
2022-08-30 7:23 ` Michael Olbrich
2022-08-30 7:58 ` Christian Melki
2022-08-30 9:13 ` Alexander Dahl
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=20220826133537.1843791-2-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.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