[U-Boot,3/3] SPL: Default to disabling legacy image support when using FIT
diff mbox series

Message ID 1553272669-12639-3-git-send-email-trini@konsulko.com
State Superseded
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot,1/3] spl: Rename SPL_LEGACY_IMAGE_SUPPORT to SPL_IMAGE_FORMAT_LEGACY
Related show

Commit Message

Tom Rini March 22, 2019, 4:37 p.m. UTC
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>
---
 common/spl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index aef7c5b01465..65d19ebff771 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -94,7 +94,7 @@  config SPL_RAW_IMAGE_SUPPORT
 
 config SPL_IMAGE_FORMAT_LEGACY
 	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
 	  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