]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: Make A ISA extension selectable
authorChia-Wei Wang <chiawei_wang@aspeedtech.com>
Tue, 10 Sep 2024 09:39:13 +0000 (17:39 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 11 Sep 2024 12:35:03 +0000 (20:35 +0800)
Make the Atomic (A) ISA extension selectable. Thus CPUs such as
Ibex without the A extension can be supported.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/Kconfig

index fa3b016c52728862019c426f031262c40901ee51..c5859c5c5410a259d6a78e95de8630c2a9d1b30b 100644 (file)
@@ -308,7 +308,10 @@ config TPL_USE_ARCH_STRNCMP
 endmenu
 
 config RISCV_ISA_A
-       def_bool y
+       bool "Standard extension for Atomic Instructions"
+       default y
+       help
+         Adds "A" to the ISA string passed to the compiler.
 
 config DMA_ADDR_T_64BIT
        bool