The Ibex SPI host controller uses the SSI bus infrastructure,
but CONFIG_IBEX does not select CONFIG_SSI.

This causes undefined references to SSI functions, including
ssi_transfer(), when building a minimal RV32 OpenTitan target
without default devices.

Select SSI from IBEX to ensure that the required bus
implementation is built.

Signed-off-by: Tan Chi <[email protected]>
---
 hw/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
index 27f03b687c..d99fee0fd7 100644
--- a/hw/riscv/Kconfig
+++ b/hw/riscv/Kconfig
@@ -6,6 +6,7 @@ config RISCV_NUMA
 
 config IBEX
     bool
+    select SSI
 
 config RISCV_DEVICE_COMMON
     bool
-- 
2.53.0


Reply via email to