On Fri, May 14, 2021 at 1:02 AM Philippe Mathieu-Daudé <phi...@redhat.com> wrote: > > 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") > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > Cc: Amit Singh Tomar <amit.to...@freescale.com> > Cc: Andrew Randrianasulu <randrianas...@gmail.com> > --- > default-configs/devices/ppc-softmmu.mak | 1 - > hw/ppc/Kconfig | 1 + > 2 files changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>