Commit 2f73b35d authored by Lad Prabhakar's avatar Lad Prabhakar Committed by Palmer Dabbelt

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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/Signed-off-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20230901110320.312674-1-prabhakar.mahadev-lad.rj@bp.renesas.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 54adc24c
...@@ -2,7 +2,7 @@ menu "CPU errata selection" ...@@ -2,7 +2,7 @@ menu "CPU errata selection"
config ERRATA_ANDES config ERRATA_ANDES
bool "Andes AX45MP errata" bool "Andes AX45MP errata"
depends on RISCV_ALTERNATIVE depends on RISCV_ALTERNATIVE && RISCV_SBI
help help
All Andes errata Kconfig depend on this Kconfig. Disabling All Andes errata Kconfig depend on this Kconfig. Disabling
this Kconfig will disable all Andes errata. Please say "Y" this Kconfig will disable all Andes errata. Please say "Y"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment