riscv: AVAILABLE_HARTS is not compatible with XIP
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 23 Jan 2025 02:21:40 +0000 (03:21 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 3 Feb 2025 03:33:04 +0000 (11:33 +0800)
commit490be9de22ac3dac18ebf33ebaefb5f93f29963e
treec1803fef49ed10f32bf489a9ec54b6a9c43f593b
parent3691fbccfc89eda39faacb3fff3e6edbc9c62cd4
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>
arch/riscv/Kconfig