Skip to content

Commit ed2543a

Browse files
committed
hw/ppc/Kconfig: Add missing dependency E500 -> DS1338 RTC
Commit 7abb479 ("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: 7abb479 ("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: <[email protected]>
1 parent 6e4dd94 commit ed2543a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

configs/devices/ppc-softmmu/default.mak

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Default configuration for ppc-softmmu
22

33
# For embedded PPCs:
4-
CONFIG_DS1338=y
54
CONFIG_E500=y
65
CONFIG_PPC405=y
76
CONFIG_PPC440=y

hw/ppc/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ config E500
130130
select SERIAL
131131
select MPC_I2C
132132
select FDT_PPC
133+
select DS1338
133134

134135
config VIRTEX
135136
bool

0 commit comments

Comments
 (0)