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é <philmd@redhat.com>
Message-Id: <20191231183216.6781-7-philmd@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2019-12-31 19:32:08 +01:00 committed by Paolo Bonzini
parent ff2efdcdc1
commit a0297be4be
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -105,6 +105,7 @@ config E500
select PLATFORM_BUS
select PPCE500_PCI
select SERIAL
select MPC_I2C
config VIRTEX
bool