From 96b3e4da1bc02fe527571ac8df7b47131f9c85d7 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Wed, 26 Dec 2018 21:51:51 -0800 Subject: [PATCH] MLK-20664-2 imx8/imx8m: Disable the SPL RAW image support The RAW image support must be disabled, otherwise a RAW image can be used to bypass FIT image. Signed-off-by: Ye Li (cherry picked from commit ca7ebfcf0737699d5f62f97be4b0015c88108ae7) (cherry picked from commit 9e9524c86a08d5b16bb94c1a30eda378536c4860) (cherry picked from commit 1759ef0b52f972cff6c2c23014c534c9c8d0d55f) --- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 774541c02b..6c8bbcbe4c 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -195,7 +195,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 -- 2.17.1