* [ptxdist] [PATCH] u-boot: Add u-boot-dtb.imx install option
@ 2019-07-29 7:28 Lars Pedersen
0 siblings, 0 replies; only message in thread
From: Lars Pedersen @ 2019-07-29 7:28 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-29 7:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 7:28 [ptxdist] [PATCH] u-boot: Add u-boot-dtb.imx install option Lars Pedersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox