From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 23 May 2019 07:14:08 -0400 Subject: [U-Boot] [PATCHv2 2/2] SPL: Default to disabling legacy image support when using FIT In-Reply-To: <1558610048-31283-1-git-send-email-trini@konsulko.com> References: <1558610048-31283-1-git-send-email-trini@konsulko.com> Message-ID: <1558610048-31283-2-git-send-email-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index c7cd34449a52..55dba0d42069 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -101,7 +101,7 @@ config SPL_RAW_IMAGE_SUPPORT config SPL_LEGACY_IMAGE_SUPPORT 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 -- 2.7.4