summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-04-20 21:25:38 +0000
committerTom Rini <trini@konsulko.com>2018-04-28 10:42:35 -0400
commit002c3234e63303062fdc7511ef69be1fdda3093c (patch)
treefa6581dc532dcc7cfde580849aaaa926f894e578 /Kconfig
parent83a1f933d141ca5db69344559c1eef255d45fddd (diff)
downloadu-boot-002c3234e63303062fdc7511ef69be1fdda3093c.tar.gz
Migrate IMAGE_FORMAT_LEGACY to Kconfig
This converts IMAGE_FORMAT_LEGACY to Kconfig Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 6957097499..78afe72e70 100644
--- a/Kconfig
+++ b/Kconfig
@@ -361,6 +361,16 @@ endif # SPL
endif # FIT
+config IMAGE_FORMAT_LEGACY
+ bool "Enable support for the legacy image format"
+ default y if !FIT_SIGNATURE
+ help
+ This option enables the legacy image format. It is enabled by
+ default for backward compatibility, unless FIT_SIGNATURE is
+ set where it is disabled so that unsigned images cannot be
+ loaded. If a board needs the legacy image format support in this
+ case, enable it here.
+
config OF_BOARD_SETUP
bool "Set up board-specific details in device tree before boot"
depends on OF_LIBFDT