summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Zi <[email protected]>2025-09-02 08:19:31 +0000
committerLeo Yu-Chi Liang <[email protected]>2025-09-19 19:22:29 +0800
commit06b22f38af96ba9d347f2f70bc5ab8d41dd79312 (patch)
tree5c7c01960bd792a6e79243ec23c91429ad668d61
parentfde7702c9b5a440fe86b4a8f35485f1920744ba7 (diff)
configs: ibex-ast2700: Explicitly disable Zaamo and Zalrsc extension
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 <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
-rw-r--r--configs/ibex-ast2700_defconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/ibex-ast2700_defconfig b/configs/ibex-ast2700_defconfig
index 8e8259f291d..088eec1ec70 100644
--- a/configs/ibex-ast2700_defconfig
+++ b/configs/ibex-ast2700_defconfig
@@ -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