ppc: Express dependencies of the embedded machines with kconfig

This makes it much easier if the users want to disable some of
the embedded machines for their builds.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Thomas Huth 2019-01-31 14:53:30 +01:00 committed by Paolo Bonzini
parent 1f40cc5e84
commit 98bd1db99f
2 changed files with 19 additions and 17 deletions

View File

@ -1,27 +1,10 @@
# Default configuration for ppc-softmmu
CONFIG_ISA_BUS=y
CONFIG_PCI=y
CONFIG_PCI_DEVICES=y
CONFIG_TEST_DEVICES=y
# For embedded PPCs:
CONFIG_PPC4XX=y
CONFIG_M48T59=y
CONFIG_SERIAL=y
CONFIG_OPENPIC=y
CONFIG_PPCE500_PCI=y
CONFIG_PFLASH_CFI01=y
CONFIG_PFLASH_CFI02=y
CONFIG_XILINX=y
CONFIG_XILINX_ETHLITE=y
CONFIG_E500=y
CONFIG_PLATFORM_BUS=y
CONFIG_ETSEC=y
CONFIG_PPC405=y
CONFIG_PPC440=y
CONFIG_VIRTEX=y
CONFIG_PCI_EXPRESS=y
# For Sam460ex
CONFIG_SAM460EX=y

View File

@ -27,9 +27,18 @@ config POWERNV
config PPC405
bool
select M48T59
select PFLASH_CFI02
select PPC4XX
select SERIAL
config PPC440
bool
imply PCI_DEVICES
imply TEST_DEVICES
select PCI_EXPRESS
select PPC4XX
select SERIAL
config PPC4XX
bool
@ -87,9 +96,19 @@ config MAC_NEWWORLD
config E500
bool
imply AT24C
select ETSEC
select OPENPIC
select PLATFORM_BUS
select PPCE500_PCI
select SERIAL
config VIRTEX
bool
select PFLASH_CFI01
select SERIAL
select XILINX
select XILINX_ETHLITE
config XIVE
bool