]> git.proxmox.com Git - mirror_qemu.git/blob - hw/misc/meson.build
hw/misc: Add NPCM7xx System Global Control Registers device model
[mirror_qemu.git] / hw / misc / meson.build
1 softmmu_ss.add(when: 'CONFIG_APPLESMC', if_true: files('applesmc.c'))
2 softmmu_ss.add(when: 'CONFIG_EDU', if_true: files('edu.c'))
3 softmmu_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmcoreinfo.c'))
4 softmmu_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugexit.c'))
5 softmmu_ss.add(when: 'CONFIG_ISA_TESTDEV', if_true: files('pc-testdev.c'))
6 softmmu_ss.add(when: 'CONFIG_MAX111X', if_true: files('max111x.c'))
7 softmmu_ss.add(when: 'CONFIG_PCA9552', if_true: files('pca9552.c'))
8 softmmu_ss.add(when: 'CONFIG_PCI_TESTDEV', if_true: files('pci-testdev.c'))
9 softmmu_ss.add(when: 'CONFIG_SGA', if_true: files('sga.c'))
10 softmmu_ss.add(when: 'CONFIG_TMP105', if_true: files('tmp105.c'))
11 softmmu_ss.add(when: 'CONFIG_TMP421', if_true: files('tmp421.c'))
12 softmmu_ss.add(when: 'CONFIG_UNIMP', if_true: files('unimp.c'))
13 softmmu_ss.add(when: 'CONFIG_EMPTY_SLOT', if_true: files('empty_slot.c'))
14
15 # ARM devices
16 softmmu_ss.add(when: 'CONFIG_PL310', if_true: files('arm_l2x0.c'))
17 softmmu_ss.add(when: 'CONFIG_INTEGRATOR_DEBUG', if_true: files('arm_integrator_debug.c'))
18 softmmu_ss.add(when: 'CONFIG_A9SCU', if_true: files('a9scu.c'))
19 softmmu_ss.add(when: 'CONFIG_ARM11SCU', if_true: files('arm11scu.c'))
20
21 # Mac devices
22 softmmu_ss.add(when: 'CONFIG_MOS6522', if_true: files('mos6522.c'))
23
24 # RISC-V devices
25 softmmu_ss.add(when: 'CONFIG_SIFIVE_TEST', if_true: files('sifive_test.c'))
26 softmmu_ss.add(when: 'CONFIG_SIFIVE_E_PRCI', if_true: files('sifive_e_prci.c'))
27 softmmu_ss.add(when: 'CONFIG_SIFIVE_U_OTP', if_true: files('sifive_u_otp.c'))
28 softmmu_ss.add(when: 'CONFIG_SIFIVE_U_PRCI', if_true: files('sifive_u_prci.c'))
29
30 # PKUnity SoC devices
31 softmmu_ss.add(when: 'CONFIG_PUV3', if_true: files('puv3_pm.c'))
32
33 subdir('macio')
34
35 softmmu_ss.add(when: 'CONFIG_IVSHMEM_DEVICE', if_true: files('ivshmem.c'))
36
37 softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-ccu.c'))
38 specific_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpucfg.c'))
39 softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-dramc.c'))
40 softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-sysctrl.c'))
41 softmmu_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-sid.c'))
42 softmmu_ss.add(when: 'CONFIG_REALVIEW', if_true: files('arm_sysctl.c'))
43 softmmu_ss.add(when: 'CONFIG_NSERIES', if_true: files('cbus.c'))
44 softmmu_ss.add(when: 'CONFIG_ECCMEMCTL', if_true: files('eccmemctl.c'))
45 softmmu_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_pmu.c', 'exynos4210_clk.c', 'exynos4210_rng.c'))
46 softmmu_ss.add(when: 'CONFIG_IMX', if_true: files(
47 'imx25_ccm.c',
48 'imx31_ccm.c',
49 'imx6_ccm.c',
50 'imx6ul_ccm.c',
51 'imx7_ccm.c',
52 'imx7_gpr.c',
53 'imx7_snvs.c',
54 'imx_ccm.c',
55 'imx_rngc.c',
56 ))
57 softmmu_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist-hpdmc.c', 'milkymist-pfpu.c'))
58 softmmu_ss.add(when: 'CONFIG_MAINSTONE', if_true: files('mst_fpga.c'))
59 softmmu_ss.add(when: 'CONFIG_NPCM7XX', if_true: files(
60 'npcm7xx_gcr.c',
61 ))
62 softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files(
63 'omap_clk.c',
64 'omap_gpmc.c',
65 'omap_l4.c',
66 'omap_sdrc.c',
67 'omap_tap.c',
68 ))
69 softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files(
70 'bcm2835_mbox.c',
71 'bcm2835_mphi.c',
72 'bcm2835_property.c',
73 'bcm2835_rng.c',
74 'bcm2835_thermal.c',
75 ))
76 softmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_misc.c'))
77 softmmu_ss.add(when: 'CONFIG_ZYNQ', if_true: files('zynq_slcr.c', 'zynq-xadc.c'))
78 softmmu_ss.add(when: 'CONFIG_STM32F2XX_SYSCFG', if_true: files('stm32f2xx_syscfg.c'))
79 softmmu_ss.add(when: 'CONFIG_STM32F4XX_SYSCFG', if_true: files('stm32f4xx_syscfg.c'))
80 softmmu_ss.add(when: 'CONFIG_STM32F4XX_EXTI', if_true: files('stm32f4xx_exti.c'))
81 softmmu_ss.add(when: 'CONFIG_MPS2_FPGAIO', if_true: files('mps2-fpgaio.c'))
82 softmmu_ss.add(when: 'CONFIG_MPS2_SCC', if_true: files('mps2-scc.c'))
83
84 softmmu_ss.add(when: 'CONFIG_TZ_MPC', if_true: files('tz-mpc.c'))
85 softmmu_ss.add(when: 'CONFIG_TZ_MSC', if_true: files('tz-msc.c'))
86 softmmu_ss.add(when: 'CONFIG_TZ_PPC', if_true: files('tz-ppc.c'))
87 softmmu_ss.add(when: 'CONFIG_IOTKIT_SECCTL', if_true: files('iotkit-secctl.c'))
88 softmmu_ss.add(when: 'CONFIG_IOTKIT_SYSINFO', if_true: files('iotkit-sysinfo.c'))
89 softmmu_ss.add(when: 'CONFIG_ARMSSE_CPUID', if_true: files('armsse-cpuid.c'))
90 softmmu_ss.add(when: 'CONFIG_ARMSSE_MHU', if_true: files('armsse-mhu.c'))
91
92 softmmu_ss.add(when: 'CONFIG_PVPANIC', if_true: files('pvpanic.c'))
93 softmmu_ss.add(when: 'CONFIG_AUX', if_true: files('auxbus.c'))
94 softmmu_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_scu.c', 'aspeed_sdmc.c', 'aspeed_xdma.c'))
95 softmmu_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-sysreg.c'))
96 softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_rng.c'))
97
98 softmmu_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_ahb_apb_pnp.c'))
99
100 specific_ss.add(when: 'CONFIG_AVR_POWER', if_true: files('avr_power.c'))
101
102 specific_ss.add(when: 'CONFIG_IMX', if_true: files('imx6_src.c'))
103 specific_ss.add(when: 'CONFIG_IOTKIT_SYSCTL', if_true: files('iotkit-sysctl.c'))
104
105 specific_ss.add(when: 'CONFIG_MAC_VIA', if_true: files('mac_via.c'))
106
107 specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_cmgcr.c', 'mips_cpc.c'))
108 specific_ss.add(when: 'CONFIG_MIPS_ITU', if_true: files('mips_itu.c'))
109
110 specific_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa_ec.c'))