]>
Commit | Line | Data |
---|---|---|
2c44220d MAL |
1 | ppc_ss = ss.source_set() |
2 | ppc_ss.add(files( | |
3 | 'ppc.c', | |
4 | 'ppc_booke.c', | |
5 | )) | |
6 | ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: [files( | |
7 | 'fdt.c', | |
8 | ), fdt]) | |
9 | ppc_ss.add(when: 'CONFIG_FW_CFG_PPC', if_true: files('fw_cfg.c')) | |
10 | ||
11 | # IBM pSeries (sPAPR) | |
12 | ppc_ss.add(when: 'CONFIG_PSERIES', if_true: files( | |
13 | 'spapr.c', | |
14 | 'spapr_caps.c', | |
15 | 'spapr_vio.c', | |
16 | 'spapr_events.c', | |
17 | 'spapr_hcall.c', | |
6b8a0537 | 18 | 'spapr_nested.c', |
2c44220d MAL |
19 | 'spapr_iommu.c', |
20 | 'spapr_rtas.c', | |
21 | 'spapr_pci.c', | |
22 | 'spapr_rtc.c', | |
23 | 'spapr_drc.c', | |
24 | 'spapr_cpu_core.c', | |
25 | 'spapr_ovec.c', | |
26 | 'spapr_irq.c', | |
27 | 'spapr_tpm_proxy.c', | |
28 | 'spapr_nvdimm.c', | |
1eee9950 DHB |
29 | 'spapr_rtas_ddw.c', |
30 | 'spapr_numa.c', | |
6c8ebe30 | 31 | 'pef.c', |
2c44220d | 32 | )) |
962104f0 LMC |
33 | ppc_ss.add(when: ['CONFIG_PSERIES', 'CONFIG_TCG'], if_true: files( |
34 | 'spapr_softmmu.c', | |
35 | )) | |
2c44220d MAL |
36 | ppc_ss.add(when: 'CONFIG_SPAPR_RNG', if_true: files('spapr_rng.c')) |
37 | ppc_ss.add(when: ['CONFIG_PSERIES', 'CONFIG_LINUX'], if_true: files( | |
38 | 'spapr_pci_vfio.c', | |
39 | 'spapr_pci_nvlink2.c' | |
40 | )) | |
41 | ||
42 | # IBM PowerNV | |
43 | ppc_ss.add(when: 'CONFIG_POWERNV', if_true: files( | |
44 | 'pnv.c', | |
45 | 'pnv_xscom.c', | |
46 | 'pnv_core.c', | |
47 | 'pnv_lpc.c', | |
48 | 'pnv_psi.c', | |
49 | 'pnv_occ.c', | |
0bf4d77e | 50 | 'pnv_sbe.c', |
2c44220d MAL |
51 | 'pnv_bmc.c', |
52 | 'pnv_homer.c', | |
53 | 'pnv_pnor.c', | |
54 | )) | |
55 | # PowerPC 4xx boards | |
56 | ppc_ss.add(when: 'CONFIG_PPC405', if_true: files( | |
57 | 'ppc405_boards.c', | |
58 | 'ppc405_uc.c')) | |
59 | ppc_ss.add(when: 'CONFIG_PPC440', if_true: files( | |
60 | 'ppc440_bamboo.c', | |
61 | 'ppc440_pcix.c', 'ppc440_uc.c')) | |
62 | ppc_ss.add(when: 'CONFIG_PPC4XX', if_true: files( | |
2a48dd7c | 63 | 'ppc4xx_devs.c', |
2c44220d | 64 | 'ppc4xx_pci.c', |
2a48dd7c | 65 | 'ppc4xx_sdram.c')) |
2c44220d MAL |
66 | ppc_ss.add(when: 'CONFIG_SAM460EX', if_true: files('sam460ex.c')) |
67 | # PReP | |
68 | ppc_ss.add(when: 'CONFIG_PREP', if_true: files('prep.c')) | |
69 | ppc_ss.add(when: 'CONFIG_PREP', if_true: files('prep_systemio.c')) | |
70 | ppc_ss.add(when: 'CONFIG_RS6000_MC', if_true: files('rs6000_mc.c')) | |
71 | # OldWorld PowerMac | |
72 | ppc_ss.add(when: 'CONFIG_MAC_OLDWORLD', if_true: files('mac_oldworld.c')) | |
73 | # NewWorld PowerMac | |
74 | ppc_ss.add(when: 'CONFIG_MAC_NEWWORLD', if_true: files('mac_newworld.c')) | |
75 | # e500 | |
8cf7b327 BB |
76 | ppc_ss.add(when: 'CONFIG_E500PLAT', if_true: files('e500plat.c')) |
77 | ppc_ss.add(when: 'CONFIG_MPC8544DS', if_true: files('mpc8544ds.c')) | |
2c44220d MAL |
78 | ppc_ss.add(when: 'CONFIG_E500', if_true: files( |
79 | 'e500.c', | |
2c44220d MAL |
80 | 'mpc8544_guts.c', |
81 | 'ppce500_spin.c' | |
82 | )) | |
83 | # PowerPC 440 Xilinx ML507 reference board. | |
84 | ppc_ss.add(when: 'CONFIG_VIRTEX', if_true: files('virtex_ml507.c')) | |
ba7e5ac1 BZ |
85 | # Pegasos2 |
86 | ppc_ss.add(when: 'CONFIG_PEGASOS2', if_true: files('pegasos2.c')) | |
2c44220d | 87 | |
fc8c745d AK |
88 | ppc_ss.add(when: 'CONFIG_VOF', if_true: files('vof.c')) |
89 | ppc_ss.add(when: ['CONFIG_VOF', 'CONFIG_PSERIES'], if_true: files('spapr_vof.c')) | |
90 | ||
2c44220d | 91 | hw_arch += {'ppc': ppc_ss} |