mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH] u-boot: Add u-boot-dtb.imx install option
Date: Mon, 29 Jul 2019 09:28:53 +0200	[thread overview]
Message-ID: <20190729072853.7265-1-lapeddk@gmail.com> (raw)

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 platforms/u-boot.in | 8 ++++++++
 rules/u-boot.make   | 3 +++
 2 files changed, 11 insertions(+)

diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index d474e64e3..9bac4a758 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -137,6 +137,14 @@ config U_BOOT_INSTALL_U_BOOT_IMX
 	  image directory. Say yes if you are building for freescale i.MX SOCs
 	  and are not using SPL.
 
+config U_BOOT_INSTALL_U_BOOT_DTB_IMX
+        prompt "install u-boot-dtb.imx"
+        bool
+        help
+          Installing the U-Boot image with device tree support and imx header (u-boot-dtb.imx)
+          into platform image directory. Say yes if you are building for freescale i.MX SOCs
+          and are not using SPL.
+
 config U_BOOT_INSTALL_U_BOOT_DTB
 	prompt "install u-boot-dtb.bin"
 	bool
diff --git a/rules/u-boot.make b/rules/u-boot.make
index de42b3396..abb9f842f 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -135,6 +135,9 @@ endif
 ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_IMX
 	@install -v -D -m644 $(U_BOOT_DIR)/u-boot.imx $(IMAGEDIR)/u-boot.imx
 endif
+ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_DTB_IMX
+	@install -v -D -m644 $(U_BOOT_DIR)/u-boot-dtb.imx $(IMAGEDIR)/u-boot-dtb.imx
+endif
 ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_DTB
 	@install -v -D -m644 $(U_BOOT_DIR)/u-boot-dtb.bin \
 		$(IMAGEDIR)/u-boot-dtb.bin
-- 
2.21.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2019-07-29  7:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20190729072853.7265-1-lapeddk@gmail.com \
    --to=lapeddk@gmail.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