dcdf98a901
The Marvell Discovery II aka. MV64361 is a PowerPC system controller chip that is used on the pegasos2 PPC board. This adds emulation of it that models the device enough to boot guests on this board. The mv643xx.h header with register definitions is taken from Linux 4.15.10 only fixing white space errors, removing not needed parts and changing formatting for QEMU coding style. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <79545ebd03bfe0665b73d2d7cbc74fdf3d62629e.1616680239.git.balaton@eik.bme.hu> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
37 lines
1.5 KiB
Meson
37 lines
1.5 KiB
Meson
pci_ss = ss.source_set()
|
|
pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
|
|
pci_ss.add(when: 'CONFIG_ACPI', if_true: files('gpex-acpi.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
|
|
pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
|
|
pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
|
|
pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
|
|
pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c'))
|
|
|
|
# PPC devices
|
|
pci_ss.add(when: 'CONFIG_PREP_PCI', if_true: files('prep.c'))
|
|
pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
|
|
# NewWorld PowerMac
|
|
pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
|
|
# PowerPC E500 boards
|
|
pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
|
|
# Pegasos2
|
|
pci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
|
|
|
|
# ARM devices
|
|
pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
|
|
|
|
softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
|
|
|
|
specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
|
|
'pnv_phb3.c',
|
|
'pnv_phb3_msi.c',
|
|
'pnv_phb3_pbcq.c',
|
|
'pnv_phb4.c',
|
|
'pnv_phb4_pec.c'
|
|
))
|