riscv: Add basic support for SBI v0.2
[oweals/u-boot.git] / arch / riscv / Kconfig
index 3338b788f84abdc33f2570364f5e3a5228dccc96..09fff05f99a360d59ff8586f055ad8d07d67c174 100644 (file)
@@ -210,8 +210,13 @@ config NR_CPUS
          Stack memory is pre-allocated. U-Boot must therefore know the
          maximum number of CPUs that may be present.
 
+config SBI
+       bool
+       default y if RISCV_SMODE || SPL_RISCV_SMODE
+
 config SBI_IPI
        bool
+       depends on SBI
        default y if RISCV_SMODE || SPL_RISCV_SMODE
        depends on SMP