[U-Boot] [PATCH] fit: Enable fitImage by default if OF_LIBFDT is enabled

Marek Vasut marek.vasut at gmail.com
Tue May 22 22:49:56 UTC 2018


Enable fitImage by default on systems which already use libfdt.
The fitImage has many benefits over zImage and supersedes legacy
uImage, so enable it by default where possible to make it widely
available.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Maxime Ripard <maxime.ripard at bootlin.com>
Cc: Michal Simek <michal.simek at xilinx.com>
Cc: Tom Rini <trini at konsulko.com>
---
NOTE: And make my life easier, so that every contemporary board I
      look at supports a civilized contemporary boot image format
      and I don't have to mess around to find the right combo of
      zImage or uImage and DTB and the right load addresses and
      keep loading gazilion of files every time I boot a board.
---
 Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Kconfig b/Kconfig
index 9fd9de1772..7e0c736027 100644
--- a/Kconfig
+++ b/Kconfig
@@ -223,6 +223,7 @@ config FIT
 	bool "Support Flattened Image Tree"
 	select MD5
 	select SHA1
+	default y if OF_LIBFDT
 	help
 	  This option allows you to boot the new uImage structure,
 	  Flattened Image Tree.  FIT is formally a FDT, which can include
-- 
2.16.2



More information about the U-Boot mailing list