MLK-20664-2 imx8/imx8m: Disable the SPL RAW image support
authorYe Li <ye.li@nxp.com>
Thu, 27 Dec 2018 05:51:51 +0000 (21:51 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 10:38:53 +0000 (03:38 -0700)
The RAW image support must be disabled, otherwise a RAW image can be used
to bypass FIT image.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit ca7ebfcf0737699d5f62f97be4b0015c88108ae7)

common/spl/Kconfig

index 77b4616..910d34c 100644 (file)
@@ -85,7 +85,7 @@ config SPL_BOOTCOUNT_LIMIT
 
 config SPL_RAW_IMAGE_SUPPORT
        bool "Support SPL loading and booting of RAW images"
-       default n if (ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT))
+       default n if ((ARCH_MX6 && (SPL_MMC_SUPPORT || SPL_SATA_SUPPORT)) || ARCH_IMX8 || ARCH_IMX8M)
        default y if !TI_SECURE_DEVICE
        help
          SPL will support loading and booting a RAW image when this option