diff --git a/arch/Kconfig b/arch/Kconfig index deee2d69d0..863f7b6661 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -343,7 +343,7 @@ config ARCH_HAVE_RAMFUNCS config ARCH_RAMFUNCS bool "Copy functions to RAM on startup" - default n + default y depends on ARCH_HAVE_RAMFUNCS ---help--- Copy some functions to RAM at boot time. This is done in some diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8ad5794b1d..5fec852dae 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -57,7 +57,6 @@ config ARCH_CHIP_KINETIS select ARCH_HAVE_MPU select ARCH_HAVE_FPU select ARCH_HAVE_RAMFUNCS - select ARCH_RAMFUNCS ---help--- Freescale Kinetis Architectures (ARM Cortex-M4) diff --git a/arch/arm/src/sam34/Kconfig b/arch/arm/src/sam34/Kconfig index 1fc386b47f..9ee5253f28 100644 --- a/arch/arm/src/sam34/Kconfig +++ b/arch/arm/src/sam34/Kconfig @@ -229,7 +229,7 @@ config ARCH_CHIP_SAM3A config ARCH_CHIP_SAM4L bool default n - select ARCH_RAMFUNCS + select ARCH_HAVE_RAMFUNCS config ARCH_CHIP_SAM4E bool diff --git a/arch/arm/src/sama5/Kconfig b/arch/arm/src/sama5/Kconfig index 9dd32662d2..d3f745674d 100644 --- a/arch/arm/src/sama5/Kconfig +++ b/arch/arm/src/sama5/Kconfig @@ -3568,7 +3568,7 @@ config SAMA5_BOOT_SDRAM config SAMA5_BOOT_CS0FLASH bool "Running in external FLASH CS0" depends on SAMA5_EBICS0_NOR - select ARCH_RAMFUNCS + select ARCH_HAVE_RAMFUNCS config SAMA5_BOOT_CS0SRAM bool "Running in external FLASH CS0"