[PATCH v2 2/4] ARM: configs: stm32: remove XIP configuration

Alexandre Torgue alexandre.torgue at st.com
Wed Feb 28 05:10:56 PST 2018


Embedded flash becomes too small to be used as XIP support. SD card is now
available on most of stm32 boards and could be used as boot support.
Furthermore, ARM_MPU flags will be used by default and it imposes that XIP
image to be aligned on 1MB (which is not the case). For all those reasons
I prefer to remove XIP configuration from default stm32 config and let
user configure it if needed.

Signed-off-by: Alexandre Torgue <alexandre.torgue at st.com>

diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index ba805b7..b162b8d 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -28,8 +28,6 @@ CONFIG_PREEMPT=y
 # CONFIG_ATAGS is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_XIP_KERNEL=y
-CONFIG_XIP_PHYS_ADDR=0x08008000
 CONFIG_BINFMT_FLAT=y
 CONFIG_BINFMT_SHARED_FLAT=y
 # CONFIG_COREDUMP is not set
-- 
2.7.4




More information about the linux-arm-kernel mailing list