diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2008-03-11 12:34:47 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-03-11 12:34:47 +0100 |
commit | 9d25438fe7d70cf35a8a293ea5e392fefc672613 (patch) | |
tree | 4c721e2221ef08ae0dec6cab2ff9b91ca4599d43 /include/image.h | |
parent | eb6175edd6c120d8b89678243e5a2be362ee8e40 (diff) | |
download | u-boot-imx-9d25438fe7d70cf35a8a293ea5e392fefc672613.zip u-boot-imx-9d25438fe7d70cf35a8a293ea5e392fefc672613.tar.gz u-boot-imx-9d25438fe7d70cf35a8a293ea5e392fefc672613.tar.bz2 |
[new uImage] Add support for new uImage format to mkimage tool
Support for the new uImage format (FIT) is added to mkimage tool.
Commandline syntax is appropriately extended:
mkimage [-D dtc_options] -f fit-image.its fit-image
mkimage (together with dtc) takes fit-image.its and referenced therein
binaries (like vmlinux.bin.gz) as inputs, and produces fit-image file -- the
final image that can be transferred to the target (e.g., via tftp) and then
booted using the bootm command in U-Boot.
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/image.h b/include/image.h index bbd481d..681c753 100644 --- a/include/image.h +++ b/include/image.h @@ -40,14 +40,21 @@ #include <lmb.h> #include <linux/string.h> #include <asm/u-boot.h> -#endif /* USE_HOSTCC */ -/* new uImage format support enabled by default */ +/* new uImage format support enabled on target + * To be moved to board configuration file */ #define CONFIG_FIT 1 #define CONFIG_OF_LIBFDT 1 +#define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ + +#else -/* enable fit_format_error(), fit_format_warning() */ -#define CONFIG_FIT_VERBOSE 1 +/* new uImage format support enabled on host */ +#define CONFIG_FIT 1 +#define CONFIG_OF_LIBFDT 1 +#define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ + +#endif /* USE_HOSTCC */ #if defined(CONFIG_FIT) && !defined(CONFIG_OF_LIBFDT) #error "CONFIG_OF_LIBFDT not enabled, required by CONFIG_FIT!" |