Message ID | 20181109092408.28322-1-peng.fan@nxp.com |
---|---|
State | Superseded |
Delegated to: | Stefano Babic |
Headers | show |
Series | [U-Boot,01/15] Introduce CONFIG_FIT_EXTERNAL_OFFSET | expand |
On Fri, Nov 09, 2018 at 09:16:14AM +0000, Peng Fan wrote: > 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. "specifies". And another sentence about why or when this is useful would be good. Thanks!
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 $@
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(-)