From: Andrew F. Davis <afd@ti.com>
Date: Thu, 16 Feb 2017 17:18:40 +0000 (-0600)
Subject: Kconfig: Disable non-FIT SPL loading for TI secure devices
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ae9b57b50b2dfad6fefb37af95991362f79abcd3;p=project%2Fbcm63xx%2Fu-boot.git

Kconfig: Disable non-FIT SPL loading for TI secure devices

Non-FIT SPL image loading support should be disabled for TI secure
devices as the image handlers for those image types do not follow
our secure boot flow.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index d974271e71..6752b5c65c 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -17,7 +17,7 @@ config SPL_RAW_IMAGE_SUPPORT
 	bool "Support SPL loading and booting of RAW images"
 	depends on SPL
 	default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT))
-	default y
+	default y if !TI_SECURE_DEVICE
 	help
 	  SPL will support loading and booting a RAW image when this option
 	  is y. If this is not set, SPL will move on to other available
@@ -25,7 +25,7 @@ config SPL_RAW_IMAGE_SUPPORT
 
 config SPL_LEGACY_IMAGE_SUPPORT
 	bool "Support SPL loading and booting of Legacy images"
-	default y
+	default y if !TI_SECURE_DEVICE
 	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