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>
This commit is contained in:
Heinrich Schuchardt 2025-01-23 03:21:40 +01:00 committed by Leo Yu-Chi Liang
parent 3691fbccfc
commit 490be9de22

View File

@ -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.