master
build 178 lines 8.25 KB
Raw
1 system_ss.add(when: 'CONFIG_APPLESMC', if_true: files('applesmc.c'))
2
3 system_ss.add(when: 'CONFIG_EDU', if_true: files('edu.c'))
4 system_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmcoreinfo.c'))
5 system_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugexit.c'))
6 system_ss.add(when: 'CONFIG_ISA_TESTDEV', if_true: files('pc-testdev.c'))
7 system_ss.add(when: 'CONFIG_PCI_TESTDEV', if_true: files('pci-testdev.c'))
8 system_ss.add(when: 'CONFIG_IOMMU_TESTDEV', if_true: files('iommu-testdev.c'))
9 system_ss.add(when: 'CONFIG_UNIMP', if_true: files('unimp.c'))
10 system_ss.add(when: 'CONFIG_EMPTY_SLOT', if_true: files('empty_slot.c'))
11 system_ss.add(when: 'CONFIG_LED', if_true: files('led.c'))
12 system_ss.add(when: 'CONFIG_PVPANIC_COMMON', if_true: files('pvpanic.c'))
13
14 # ARM devices
15 system_ss.add(when: 'CONFIG_PL310', if_true: files('arm_l2x0.c'))
16 system_ss.add(when: 'CONFIG_INTEGRATOR_DEBUG', if_true: files('arm_integrator_debug.c'))
17 system_ss.add(when: 'CONFIG_A9SCU', if_true: files('a9scu.c'))
18 system_ss.add(when: 'CONFIG_ARM11SCU', if_true: files('arm11scu.c'))
19
20 system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_ras.c'))
21
22 # Mac devices
23 system_ss.add(when: 'CONFIG_MOS6522', if_true: files('mos6522.c'))
24 stub_ss.add(files('mos6522-stub.c'))
25 system_ss.add(when: 'CONFIG_DJMEMC', if_true: files('djmemc.c'))
26 system_ss.add(when: 'CONFIG_IOSB', if_true: files('iosb.c'))
27
28 # virt devices
29 system_ss.add(when: 'CONFIG_VIRT_CTRL', if_true: files('virt_ctrl.c'))
30
31 # RISC-V devices
32 system_ss.add(when: 'CONFIG_K230', if_true: files('k230_ddr.c'))
33 system_ss.add(when: 'CONFIG_MCHP_PFSOC_DMC', if_true: files('mchp_pfsoc_dmc.c'))
34 system_ss.add(when: 'CONFIG_MCHP_PFSOC_IOSCB', if_true: files('mchp_pfsoc_ioscb.c'))
35 system_ss.add(when: 'CONFIG_MCHP_PFSOC_SYSREG', if_true: files('mchp_pfsoc_sysreg.c'))
36 system_ss.add(when: 'CONFIG_SIFIVE_TEST', if_true: files('sifive_test.c'))
37 system_ss.add(when: 'CONFIG_SIFIVE_E_PRCI', if_true: files('sifive_e_prci.c'))
38 system_ss.add(when: 'CONFIG_SIFIVE_E_AON', if_true: files('sifive_e_aon.c'))
39 system_ss.add(when: 'CONFIG_SIFIVE_U_OTP', if_true: files('sifive_u_otp.c'))
40 system_ss.add(when: 'CONFIG_SIFIVE_U_PRCI', if_true: files('sifive_u_prci.c'))
41 system_ss.add(when: 'CONFIG_K230_DECOMP_GZIP', if_true: files('k230_decomp_gzip.c'))
42
43 subdir('macio')
44
45 # ivshmem devices
46 system_ss.add(when: 'CONFIG_IVSHMEM_DEVICE', if_true: files('ivshmem-pci.c'))
47 system_ss.add(when: 'CONFIG_IVSHMEM_FLAT_DEVICE', if_true: files('ivshmem-flat.c'))
48
49 system_ss.add(when: 'CONFIG_ALLWINNER_SRAMC', if_true: files('allwinner-sramc.c'))
50 system_ss.add(when: 'CONFIG_ALLWINNER_A10_CCM', if_true: files('allwinner-a10-ccm.c'))
51 system_ss.add(when: 'CONFIG_ALLWINNER_A10_DRAMC', if_true: files('allwinner-a10-dramc.c'))
52 system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-ccu.c'))
53 system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpucfg.c'))
54 system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-dramc.c'))
55 system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-sysctrl.c'))
56 system_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-sid.c'))
57 system_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40-ccu.c'))
58 system_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40-dramc.c'))
59 system_ss.add(when: 'CONFIG_AXP2XX_PMU', if_true: files('axp2xx.c'))
60 system_ss.add(when: 'CONFIG_REALVIEW', if_true: files('arm_sysctl.c'))
61 system_ss.add(when: 'CONFIG_ECCMEMCTL', if_true: files('eccmemctl.c'))
62 system_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_pmu.c', 'exynos4210_clk.c', 'exynos4210_rng.c'))
63 system_ss.add(when: 'CONFIG_FSL_IMX8MP_ANALOG', if_true: files('imx8mp_analog.c'))
64 system_ss.add(when: 'CONFIG_FSL_IMX8MP_CCM', if_true: files('imx8mp_ccm.c'))
65 system_ss.add(when: 'CONFIG_IMX', if_true: files(
66 'imx25_ccm.c',
67 'imx31_ccm.c',
68 'imx6_ccm.c',
69 'imx6_src.c',
70 'imx6ul_ccm.c',
71 'imx7_ccm.c',
72 'imx7_src.c',
73 'imx7_gpr.c',
74 'imx7_snvs.c',
75 'imx_ccm.c',
76 'imx_rngc.c',
77 ))
78 system_ss.add(when: 'CONFIG_MAX78000_AES', if_true: files('max78000_aes.c'))
79 system_ss.add(when: 'CONFIG_MAX78000_GCR', if_true: files('max78000_gcr.c'))
80 system_ss.add(when: 'CONFIG_MAX78000_ICC', if_true: files('max78000_icc.c'))
81 system_ss.add(when: 'CONFIG_MAX78000_TRNG', if_true: files('max78000_trng.c'))
82 system_ss.add(when: 'CONFIG_NPCM7XX', if_true: files(
83 'npcm_clk.c',
84 'npcm_gcr.c',
85 'npcm7xx_mft.c',
86 'npcm7xx_pwm.c',
87 'npcm7xx_rng.c',
88 ))
89 system_ss.add(when: 'CONFIG_OMAP', if_true: files(
90 'omap_clk.c',
91 ))
92 system_ss.add(when: 'CONFIG_RASPI', if_true: files(
93 'bcm2835_mbox.c',
94 'bcm2835_mphi.c',
95 'bcm2835_property.c',
96 'bcm2835_rng.c',
97 'bcm2835_thermal.c',
98 'bcm2835_cprman.c',
99 'bcm2835_powermgt.c',
100 ))
101 system_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_misc.c'))
102 system_ss.add(when: 'CONFIG_ZYNQ', if_true: files('zynq_slcr.c'))
103 system_ss.add(when: 'CONFIG_XLNX_ZYNQ_DDRC', if_true: files('xlnx-zynq-ddrc.c'))
104 system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-crf.c'))
105 system_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-apu-ctrl.c'))
106 system_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files(
107 'xlnx-versal-crl.c',
108 'xlnx-versal-xramc.c',
109 'xlnx-versal-pmc-iou-slcr.c',
110 'xlnx-versal-cfu.c',
111 'xlnx-cfi-if.c',
112 'xlnx-versal-cframe-reg.c',
113 ))
114 system_ss.add(when: 'CONFIG_XLNX_VERSAL_TRNG', if_true: files(
115 'xlnx-versal-trng.c',
116 ))
117 system_ss.add(when: 'CONFIG_STM32_RCC', if_true: files('stm32_rcc.c'))
118 system_ss.add(when: 'CONFIG_STM32F2XX_SYSCFG', if_true: files('stm32f2xx_syscfg.c'))
119 system_ss.add(when: 'CONFIG_STM32F4XX_SYSCFG', if_true: files('stm32f4xx_syscfg.c'))
120 system_ss.add(when: 'CONFIG_STM32F4XX_EXTI', if_true: files('stm32f4xx_exti.c'))
121 system_ss.add(when: 'CONFIG_STM32L4X5_EXTI', if_true: files('stm32l4x5_exti.c'))
122 system_ss.add(when: 'CONFIG_STM32L4X5_SYSCFG', if_true: files('stm32l4x5_syscfg.c'))
123 system_ss.add(when: 'CONFIG_STM32L4X5_RCC', if_true: files('stm32l4x5_rcc.c'))
124 system_ss.add(when: 'CONFIG_MPS2_FPGAIO', if_true: files('mps2-fpgaio.c'))
125 system_ss.add(when: 'CONFIG_MPS2_SCC', if_true: files('mps2-scc.c'))
126
127 system_ss.add(when: 'CONFIG_TZ_MPC', if_true: files('tz-mpc.c'))
128 system_ss.add(when: 'CONFIG_TZ_MSC', if_true: files('tz-msc.c'))
129 system_ss.add(when: 'CONFIG_TZ_PPC', if_true: files('tz-ppc.c'))
130 system_ss.add(when: 'CONFIG_IOTKIT_SECCTL', if_true: files('iotkit-secctl.c'))
131 system_ss.add(when: 'CONFIG_IOTKIT_SYSCTL', if_true: files('iotkit-sysctl.c'))
132 system_ss.add(when: 'CONFIG_IOTKIT_SYSINFO', if_true: files('iotkit-sysinfo.c'))
133 system_ss.add(when: 'CONFIG_ARMSSE_CPU_PWRCTRL', if_true: files('armsse-cpu-pwrctrl.c'))
134 system_ss.add(when: 'CONFIG_ARMSSE_CPUID', if_true: files('armsse-cpuid.c'))
135 system_ss.add(when: 'CONFIG_ARMSSE_MHU', if_true: files('armsse-mhu.c'))
136
137 system_ss.add(when: 'CONFIG_PVPANIC_ISA', if_true: files('pvpanic-isa.c'))
138 system_ss.add(when: 'CONFIG_PVPANIC_PCI', if_true: files('pvpanic-pci.c'))
139 system_ss.add(when: 'CONFIG_PVPANIC_MMIO', if_true: files('pvpanic-mmio.c'))
140 system_ss.add(when: 'CONFIG_AUX', if_true: files('auxbus.c'))
141 system_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files(
142 'aspeed_hace.c',
143 'aspeed_lpc.c',
144 'aspeed_ltpi.c',
145 'aspeed_pwm.c',
146 'aspeed_scu.c',
147 'aspeed_sbc.c',
148 'aspeed_sdmc.c',
149 'aspeed_xdma.c',
150 'aspeed_peci.c',
151 'aspeed_sli.c'))
152
153 system_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-sysreg.c'))
154 system_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_rng.c'))
155
156 system_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_ahb_apb_pnp.c'))
157
158 system_ss.add(when: 'CONFIG_I2C_ECHO', if_true: files('i2c-echo.c'))
159
160 system_ss.add(when: 'CONFIG_AVR_POWER', if_true: files('avr_power.c'))
161
162 system_ss.add(when: 'CONFIG_MAC_VIA', if_true: files('mac_via.c'))
163
164 specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_cmgcr.c', 'mips_cpc.c'))
165 specific_ss.add(when: 'CONFIG_MIPS_ITU', if_true: files('mips_itu.c'))
166
167 specific_ss.add(when: 'CONFIG_RISCV_MIPS_CMGCR', if_true: files('riscv_cmgcr.c'))
168 specific_ss.add(when: 'CONFIG_RISCV_MIPS_CPC', if_true: files('riscv_cpc.c'))
169 if igvm.found()
170 specific_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmlaunchupdate.c'))
171 endif
172
173 system_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa_ec.c'))
174
175 # HPPA devices
176 system_ss.add(when: 'CONFIG_LASI', if_true: files('lasi.c'))
177
178 system_ss.add(when: 'CONFIG_AXIADO_CLK', if_true: files('axiado_clk.c'))