Skip to content

Commit 2f73b35

Browse files
prabhakarladpalmer-dabbelt
authored andcommitted
riscv: Kconfig.errata: Add dependency for RISCV_SBI in ERRATA_ANDES config
Andes errata uses sbi_ecalll() which is only available if RISCV_SBI is enabled. So add an dependency for RISCV_SBI in ERRATA_ANDES config to avoid any build failures. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Tested-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 54adc24 commit 2f73b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/Kconfig.errata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ menu "CPU errata selection"
22

33
config ERRATA_ANDES
44
bool "Andes AX45MP errata"
5-
depends on RISCV_ALTERNATIVE
5+
depends on RISCV_ALTERNATIVE && RISCV_SBI
66
help
77
All Andes errata Kconfig depend on this Kconfig. Disabling
88
this Kconfig will disable all Andes errata. Please say "Y"

0 commit comments

Comments
 (0)