]> Git Repo - qemu.git/commitdiff
hw/ppc/Kconfig: Add missing dependency E500 -> DS1338 RTC
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 13 May 2021 13:13:54 +0000 (15:13 +0200)
committerPhilippe Mathieu-Daudé <[email protected]>
Tue, 20 Jul 2021 13:34:12 +0000 (15:34 +0200)
Commit 7abb479c7ab ("PPC: E500: Add FSL I2C controller and integrate
RTC with it") added a global dependency on the DS1338 model, instead
of a machine one (via Kconfig). This gives trouble when building
standalone machines not exposing I2C bus:

  The following clauses were found for DS1338

      CONFIG_DS1338=y
      config DS1338 depends on I2C

Fix by selecting the DS1338 symbol in the single machine requiring
it, the E500.

Fixes: 7abb479c7ab ("PPC: E500: Add FSL I2C controller and integrate RTC with it")
Acked-by: Paolo Bonzini <[email protected]>
Acked-by: David Gibson <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20210513163858.3928976[email protected]>

configs/devices/ppc-softmmu/default.mak
hw/ppc/Kconfig

index 4535993d8d50df3d4895b38c99d21883f7cfa06d..658a454426ed2fde69d267904ffbe802dfb1f74e 100644 (file)
@@ -1,7 +1,6 @@
 # Default configuration for ppc-softmmu
 
 # For embedded PPCs:
-CONFIG_DS1338=y
 CONFIG_E500=y
 CONFIG_PPC405=y
 CONFIG_PPC440=y
index 322a7eb031e5cdcbd3de851cb5e4436def8dd9fc..85b9c93f02e834618fcbab47cde89e4e3d0874bc 100644 (file)
@@ -130,6 +130,7 @@ config E500
     select SERIAL
     select MPC_I2C
     select FDT_PPC
+    select DS1338
 
 config VIRTEX
     bool
This page took 0.028813 seconds and 4 git commands to generate.