Browse Source

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>
Andrew F. Davis 8 years ago
parent
commit
ae9b57b50b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/spl/Kconfig

+ 2 - 2
common/spl/Kconfig

@@ -17,7 +17,7 @@ config SPL_RAW_IMAGE_SUPPORT
 	bool "Support SPL loading and booting of RAW images"
 	bool "Support SPL loading and booting of RAW images"
 	depends on SPL
 	depends on SPL
 	default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT))
 	default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT))
-	default y
+	default y if !TI_SECURE_DEVICE
 	help
 	help
 	  SPL will support loading and booting a RAW image when this option
 	  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
 	  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
 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
+	default y if !TI_SECURE_DEVICE
 	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