[U-Boot] [PATCH v6 3/3] Kconfig: Disable non-FIT SPL loading for TI secure devices

Andrew F. Davis afd at ti.com
Thu Feb 16 17:18:40 UTC 2017


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 at ti.com>
---
 Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Kconfig b/Kconfig
index 8504199493..e238b8076b 100644
--- a/Kconfig
+++ b/Kconfig
@@ -293,7 +293,7 @@ config SYS_TEXT_BASE
 
 config SPL_RAW_IMAGE_SUPPORT
 	bool "Support SPL loading and booting of RAW images"
-	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
@@ -301,7 +301,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
-- 
2.11.0



More information about the U-Boot mailing list