diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-01-23 03:21:40 +0100 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2025-02-03 11:33:04 +0800 |
commit | 490be9de22ac3dac18ebf33ebaefb5f93f29963e (patch) | |
tree | c1803fef49ed10f32bf489a9ec54b6a9c43f593b | |
parent | 3691fbccfc89eda39faacb3fff3e6edbc9c62cd4 (diff) |
riscv: AVAILABLE_HARTS is not compatible with XIP
If CONFIG_AVAILABLE_HARTS=y, variable available_harts_lock is created in
the data section which will not be writable while executing from flash.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index faf70cb5d4c..f4e76db3df4 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -459,6 +459,7 @@ config SPL_XIP config AVAILABLE_HARTS bool "Send IPI by available harts" + depends on !XIP default y help By default, IPI sending mechanism will depend on available_harts. |