Browse Source

SPL: Default to disabling legacy image support when using FIT

When we have a FIT image being used by SPL by default that means the
most common case is that we'll never run into a legacy image.  Disable
legacy image support by default in that case to reclaim space.

Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini 5 years ago
parent
commit
11bd2fa197
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/spl/Kconfig

+ 1 - 1
common/spl/Kconfig

@@ -158,7 +158,7 @@ config SPL_RAW_IMAGE_SUPPORT
 
 
 config SPL_LEGACY_IMAGE_SUPPORT
 config SPL_LEGACY_IMAGE_SUPPORT
 	bool "Support SPL loading and booting of Legacy images"
 	bool "Support SPL loading and booting of Legacy images"
-	default y if !TI_SECURE_DEVICE
+	default y if !TI_SECURE_DEVICE && !SPL_LOAD_FIT
 	help
 	help
 	  SPL will support loading and booting Legacy images when this option
 	  SPL will support loading and booting Legacy images when this option
 	  is y. If this is not set, SPL will move on to other available
 	  is y. If this is not set, SPL will move on to other available