From: Philippe Mathieu-Daudé <phi...@redhat.com> Only the PowerPC e500-based platforms use the MPC I2C controller. Do not build it for the other machines.
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> Message-Id: <20191231183216.6781-7-phi...@redhat.com> Acked-by: David Gibson <da...@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- default-configs/ppc-softmmu.mak | 1 - hw/ppc/Kconfig | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak index bf86128..61b78b8 100644 --- a/default-configs/ppc-softmmu.mak +++ b/default-configs/ppc-softmmu.mak @@ -1,7 +1,6 @@ # Default configuration for ppc-softmmu # For embedded PPCs: -CONFIG_MPC_I2C=y CONFIG_DS1338=y CONFIG_E500=y CONFIG_PPC405=y diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index f927ec9..0cd8d40 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -105,6 +105,7 @@ config E500 select PLATFORM_BUS select PPCE500_PCI select SERIAL + select MPC_I2C config VIRTEX bool -- 1.8.3.1