From 002c3234e63303062fdc7511ef69be1fdda3093c Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Fri, 20 Apr 2018 21:25:38 +0000 Subject: Migrate IMAGE_FORMAT_LEGACY to Kconfig This converts IMAGE_FORMAT_LEGACY to Kconfig Signed-off-by: Alex Kiernan Reviewed-by: Tom Rini --- Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Kconfig') diff --git a/Kconfig b/Kconfig index 6957097499d..78afe72e708 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 -- cgit v1.2.3