blob: 9a813d552eb399f3b07b697726b3359b197a6c53 [file] [log] [blame]
Marc-André Lureau9235a822019-08-16 17:23:03 +04001pci_ss = ss.source_set()
2pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
3pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
Philippe Mathieu-Daudéa7db7592023-01-13 09:20:12 +01004pci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c'))
Marc-André Lureau9235a822019-08-16 17:23:03 +04005pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
6pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
Philippe Mathieu-Daudé4872fdf2021-04-25 20:21:24 +02007pci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c'))
Marc-André Lureau9235a822019-08-16 17:23:03 +04008pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
9pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
10pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
11pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
12pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
Jagannathan Raman6fbd84d2021-01-29 11:46:06 -050013pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
Philippe Mathieu-Daudéc64bd102021-02-21 19:56:35 +010014pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c'))
Marc-André Lureau9235a822019-08-16 17:23:03 +040015
16# PPC devices
Philippe Mathieu-Daudé46fd3202021-04-16 18:18:58 +020017pci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c'))
Marc-André Lureau9235a822019-08-16 17:23:03 +040018pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
19# NewWorld PowerMac
20pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
21# PowerPC E500 boards
22pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
BALATON Zoltandcdf98a2021-03-25 14:50:39 +010023# Pegasos2
24pci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
Marc-André Lureau9235a822019-08-16 17:23:03 +040025
26# ARM devices
27pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
28
Mark Cave-Ayland0db93502022-05-04 10:25:32 +010029# HPPA devices
30pci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c'))
31
Marc-André Lureau9235a822019-08-16 17:23:03 +040032softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
33
Greg Kurz995d9552020-12-24 18:23:03 +010034specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
Marc-André Lureau9235a822019-08-16 17:23:03 +040035 'pnv_phb3.c',
36 'pnv_phb3_msi.c',
37 'pnv_phb3_pbcq.c',
38 'pnv_phb4.c',
Daniel Henrique Barbozae4e6db52022-06-24 05:49:11 -030039 'pnv_phb4_pec.c',
40 'pnv_phb.c',
Marc-André Lureau9235a822019-08-16 17:23:03 +040041))