From 4651a38e5d81d4f6a3ab04627c5698922e2121d7 Mon Sep 17 00:00:00 2001 From: Frank Li Date: Sat, 9 Apr 2022 18:36:39 +0800 Subject: [PATCH] soc: mxrt10xx: remove forces enable boot header When we use a third-party or custom bootloader, there is also need to remove the boot header. Change the select to imply, so that the boot header can be removed by configuration when MCUBoot is not used. Signed-off-by: Frank Li --- soc/arm/nxp_imx/rt/Kconfig.soc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/arm/nxp_imx/rt/Kconfig.soc b/soc/arm/nxp_imx/rt/Kconfig.soc index 66fb581cb0..8b8b206085 100644 --- a/soc/arm/nxp_imx/rt/Kconfig.soc +++ b/soc/arm/nxp_imx/rt/Kconfig.soc @@ -688,11 +688,11 @@ config CODE_ITCM config CODE_FLEXSPI bool "Link code into external FlexSPI-controlled memory" - select NXP_IMX_RT_BOOT_HEADER if !BOOTLOADER_MCUBOOT + imply NXP_IMX_RT_BOOT_HEADER if !BOOTLOADER_MCUBOOT config CODE_FLEXSPI2 bool "Link code into internal FlexSPI-controlled memory" - select NXP_IMX_RT_BOOT_HEADER if !BOOTLOADER_MCUBOOT + imply NXP_IMX_RT_BOOT_HEADER if !BOOTLOADER_MCUBOOT config CODE_SRAM0 bool "Link code into RAM_L memory (RAM_L)"