On 26/05/2025 13.23, Philippe Mathieu-Daudé wrote:
Since commit 263b81ee15a, PowerNV machines instanciate
a I2C controller, so expose a I2C bus. Express that in
Kconfig, otherwise we get a configure error when trying
to use '--without-default-devices':

   The following clauses were found for PCA9552
       config PCA9552 depends on I2C
       select PCA9552 if POWERNV

Fixes: 263b81ee15a ("ppc/pnv: Add an I2C controller model")
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  hw/ppc/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index ced6bbc7404..0d017df83ee 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -29,6 +29,7 @@ config POWERNV
      depends on PPC64 && FDT
      imply PCI_DEVICES
      imply TEST_DEVICES
+    select I2C
      select ISA_IPMI_BT
      select IPMI_LOCAL
      select ISA_BUS

Reviewed-by: Thomas Huth <th...@redhat.com>


Reply via email to