boot: Kconfig: Disable non-FIT loading for TI secure devices
authorAndrew Davis <afd@ti.com>
Wed, 4 May 2022 20:52:27 +0000 (15:52 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 11 May 2022 13:22:24 +0000 (09:22 -0400)
Non-FIT image loading support should be disabled for TI secure
devices as the image handlers for those image types do not follow
our secure boot checks.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/Kconfig

index 4b0802b..9780473 100644 (file)
@@ -405,7 +405,7 @@ endif
 
 config LEGACY_IMAGE_FORMAT
        bool "Enable support for the legacy image format"
-       default y if !FIT_SIGNATURE
+       default y if !FIT_SIGNATURE && !TI_SECURE_DEVICE
        help
          This option enables the legacy image format. It is enabled by
          default for backward compatibility, unless FIT_SIGNATURE is