]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: ibex-ast2700: Explicitly disable Zaamo and Zalrsc extension
authorYao Zi <ziyao@disroot.org>
Tue, 2 Sep 2025 08:19:31 +0000 (08:19 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 19 Sep 2025 11:22:29 +0000 (19:22 +0800)
This board supports neither Zaamo nor Zalrsc extension, thus we want to
build it without "a" specified in the ISA string passed to compiler in
case of misused A-extension instructions. With RISCV_ISA_ZAAMO and
RISCV_ISA_ZALRSC Kconfig options introduced, we must explicitly disable
both of them to achieve this.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
configs/ibex-ast2700_defconfig

index 8e8259f291dcbf844e1d7f6d948613cea36f1de2..088eec1ec702c7f00b0f7561e02684c12f4fffa4 100644 (file)
@@ -22,7 +22,8 @@ CONFIG_SYS_MEM_TOP_HIDE=0x10000000
 CONFIG_BUILD_TARGET=""
 CONFIG_TARGET_ASPEED_AST2700_IBEX=y
 # CONFIG_RISCV_ISA_F is not set
-# CONFIG_RISCV_ISA_A is not set
+# CONFIG_RISCV_ISA_ZAAMO is not set
+# CONFIG_RISCV_ISA_ZALRSC is not set
 # CONFIG_SPL_SMP is not set
 CONFIG_XIP=y
 CONFIG_SPL_XIP=y