From c319bf988493c913588e32e9cbcc684a72354b4c Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Thu, 30 Aug 2012 00:57:25 +0530 Subject: [PATCH] Xilinx: ARM: Enable Flattened uImage Tree(FIT) support This patch enables the FIT or new uImage support to all zynq boards. The new uImage format allows more flexibility in handling images of various types (kernel, ramdisk, etc.), it also enhances integrity protection of images with sha1 and md5 checksums. FIT creation (see for doc/uImage.FIT/howto.txt for more info): bash> mkimage -f input.its output.itb FIT loading: zynq-uboot> tftp 0x2000000 output.itb zynq-uboot> bootm 0x2000000 Signed-off-by: Jagannadha Sutradharudu Teki --- include/configs/zynq_common.h | 4 ++++ include/configs/zynq_ep107.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index ac11129b6f0..5c6086cffe8 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -131,6 +131,10 @@ #define CONFIG_FPGA_ZYNQPL #define CONFIG_CMD_FPGA +/* FIT support */ +#define CONFIG_FIT 1 +#define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ + /* For now, use only single block reads for the MMC */ #define CONFIG_SYS_MMC_MAX_BLK_COUNT 1 diff --git a/include/configs/zynq_ep107.h b/include/configs/zynq_ep107.h index 2e84b60a3a5..b466b0a1fef 100644 --- a/include/configs/zynq_ep107.h +++ b/include/configs/zynq_ep107.h @@ -85,6 +85,9 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING +#undef CONFIG_FIT +#undef CONFIG_FIT_VERBOSE + /* this is to initialize GEM at uboot start */ /* #define CONFIG_ZYNQ_INIT_GEM */ /* this is to set ipaddr, ethaddr and serverip env variables. */ -- 2.47.3