diff --git a/soc/riscv/riscv-privileged/Kconfig b/soc/riscv/riscv-privileged/Kconfig index f94eabd96a7ac8..abbeeac242bcf1 100644 --- a/soc/riscv/riscv-privileged/Kconfig +++ b/soc/riscv/riscv-privileged/Kconfig @@ -10,6 +10,7 @@ config SOC_FAMILY_RISCV_PRIVILEGE config SOC_FAMILY_RISCV_PRIVILEGED bool + select ARCH_HAS_RAMFUNC_SUPPORT if XIP config SOC_FAMILY string