[PATCH 1/8] spl: Kconfig: not select SPL_RAW_IMAGE_SUPPORT for i.MX8M

Peng Fan (OSS)
2022-06-03T06:35:14Z

From: Peng Fan <peng.fan@nxp.com>

i.MX8M use FIT image, not RAW image. And to support binman symbols,
u_boot_any could be optimized if RAW image is not selected, otherwise
there will be build failure. So not select SPL_RAW_IMAGE_SUPPORT

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 50ff113cab2..63ebc09ee0a 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -219,6 +219,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 || SPL_SATA))
+ default n if ARCH_IMX8M
default y
depends on !TI_SECURE_DEVICE
help
--
2.36.0