From: Philippe Mathieu-Daudé Date: Tue, 31 Dec 2019 18:32:08 +0000 (+0100) Subject: hw/ppc/Kconfig: Restrict the MPC I2C controller to e500-based platforms X-Git-Tag: v5.0.0-rc0~151^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0297be4bead925d0eea4a0de9ce8c3e48c2f43a;p=thirdparty%2Fqemu.git hw/ppc/Kconfig: Restrict the MPC I2C controller to e500-based platforms 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é Message-Id: <20191231183216.6781-7-philmd@redhat.com> Acked-by: David Gibson Signed-off-by: Paolo Bonzini --- diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak index bf86128a0cf..61b78b844dd 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 f927ec9c748..0cd8d4053e4 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