All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 01/15] Introduce CONFIG_FIT_EXTERNAL_OFFSET
@ 2018-11-09  9:16 Peng Fan
  2018-11-09  9:16 ` [U-Boot] [PATCH 02/15] imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M Peng Fan
                   ` (14 more replies)
  0 siblings, 15 replies; 27+ messages in thread
From: Peng Fan @ 2018-11-09  9:16 UTC (permalink / raw)
  To: u-boot

Introduce CONFIG_FIT_EXTERNAL_OFFSET to give user a choice to choose
where to put the external data.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Kconfig  | 6 ++++++
 Makefile | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Kconfig b/Kconfig
index dca9bb4e43..9b1cc6c2c0 100644
--- a/Kconfig
+++ b/Kconfig
@@ -248,6 +248,12 @@ config FIT
 
 if FIT
 
+config FIT_EXTERNAL_OFFSET
+	hex "Text Base"
+	default 0x0
+	help
+	  This specifics a data offset in fit image.
+
 config FIT_ENABLE_SHA256_SUPPORT
 	bool "Support SHA256 checksum of FIT image contents"
 	default y
diff --git a/Makefile b/Makefile
index 250eb6c3c3..a5fbedea83 100644
--- a/Makefile
+++ b/Makefile
@@ -893,7 +893,7 @@ cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
 	>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
 
 quiet_cmd_mkfitimage = MKIMAGE $@
-cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E $@ \
+cmd_mkfitimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -f $(U_BOOT_ITS) -E $@ -p $(CONFIG_FIT_EXTERNAL_OFFSET)\
 	>$(MKIMAGEOUTPUT) $(if $(KBUILD_VERBOSE:0=), && cat $(MKIMAGEOUTPUT))
 
 quiet_cmd_cat = CAT     $@
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2018-11-15  7:07 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09  9:16 [U-Boot] [PATCH 01/15] Introduce CONFIG_FIT_EXTERNAL_OFFSET Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 02/15] imx8m: Enable CONFIG_SPL_FIT_IMAGE_TINY for iMX8M Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 03/15] imx: cpu: add CHIP_REV_2_1 macro Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 04/15] imx: introduce is_imx8mq helper Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 05/15] imx: rename mx8m,MX8M to imx8m,IMX8M Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 06/15] imx: spl: add MMC BOOT Device for i.MX8M Peng Fan
2018-11-09 18:14   ` Troy Kisky
2018-11-09 18:18     ` Troy Kisky
2018-11-09  9:16 ` [U-Boot] [PATCH 07/15] imx: imx8m: clock refactor dram pll part Peng Fan
2018-11-09 18:26   ` Troy Kisky
2018-11-09  9:16 ` [U-Boot] [PATCH 08/15] tools: add i.MX8M image support Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 09/15] imx: imx8m: introduce script to generate fit image Peng Fan
2018-11-09 18:30   ` Troy Kisky
2018-11-09  9:16 ` [U-Boot] [PATCH 10/15] imx: imx8m: introduce imximage cfg file Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 11/15] imx: imx8mq: build flash.bin Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 12/15] imx: imx8m: not build bootaux when building SPL Peng Fan
2018-11-09  9:16 ` [U-Boot] [PATCH 13/15] imx: imx8m: add lpddr4 header file Peng Fan
2018-11-09  9:17 ` [U-Boot] [PATCH 14/15] drivers: ddr: introduce DDR driver for i.MX8M Peng Fan
2018-11-09 18:52   ` Troy Kisky
2018-11-11 10:50     ` Peng Fan
2018-11-12 15:02       ` Fabio Estevam
2018-11-09  9:17 ` [U-Boot] [PATCH 15/15] imx: add i.MX8MQ EVK support Peng Fan
2018-11-09 19:05   ` Troy Kisky
2018-11-13  7:52     ` Jon Nettleton
2018-11-14  6:04       ` Peng Fan
2018-11-15  7:07   ` Jon Nettleton
2018-11-09 14:50 ` [U-Boot] [PATCH 01/15] Introduce CONFIG_FIT_EXTERNAL_OFFSET Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.