From: Heinrich Schuchardt Date: Thu, 23 Jan 2025 02:21:40 +0000 (+0100) Subject: riscv: AVAILABLE_HARTS is not compatible with XIP X-Git-Tag: v2025.04-rc2~35^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490be9de22ac3dac18ebf33ebaefb5f93f29963e;p=pandora-u-boot.git 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 Reviewed-by: Leo Yu-Chi Liang --- 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.