1de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_APPLESMC', if_true: files('applesmc.c')) 2de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_EDU', if_true: files('edu.c')) 3de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmcoreinfo.c')) 4de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugexit.c')) 5de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ISA_TESTDEV', if_true: files('pc-testdev.c')) 6de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_PCI_TESTDEV', if_true: files('pci-testdev.c')) 7de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_UNIMP', if_true: files('unimp.c')) 8de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_EMPTY_SLOT', if_true: files('empty_slot.c')) 9de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_LED', if_true: files('led.c')) 10de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_PVPANIC_COMMON', if_true: files('pvpanic.c')) 11721cdcaeSMarc-André Lureau 12721cdcaeSMarc-André Lureau# ARM devices 13de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_PL310', if_true: files('arm_l2x0.c')) 14de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_INTEGRATOR_DEBUG', if_true: files('arm_integrator_debug.c')) 15de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_A9SCU', if_true: files('a9scu.c')) 16de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ARM11SCU', if_true: files('arm11scu.c')) 17721cdcaeSMarc-André Lureau 18de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_ras.c')) 192f9db77eSPeter Maydell 20721cdcaeSMarc-André Lureau# Mac devices 21de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MOS6522', if_true: files('mos6522.c')) 22e2fd695eSMark Cave-Aylandsystem_ss.add(when: 'CONFIG_DJMEMC', if_true: files('djmemc.c')) 23bdc2c77dSMark Cave-Aylandsystem_ss.add(when: 'CONFIG_IOSB', if_true: files('iosb.c')) 24721cdcaeSMarc-André Lureau 250791bc02SLaurent Vivier# virt devices 26de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_VIRT_CTRL', if_true: files('virt_ctrl.c')) 270791bc02SLaurent Vivier 2889ece6f7SBin Meng# RISC-V devices 29de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MCHP_PFSOC_DMC', if_true: files('mchp_pfsoc_dmc.c')) 30de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MCHP_PFSOC_IOSCB', if_true: files('mchp_pfsoc_ioscb.c')) 31de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MCHP_PFSOC_SYSREG', if_true: files('mchp_pfsoc_sysreg.c')) 32de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SIFIVE_TEST', if_true: files('sifive_test.c')) 33de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SIFIVE_E_PRCI', if_true: files('sifive_e_prci.c')) 34bf01a04fSTommy Wusystem_ss.add(when: 'CONFIG_SIFIVE_E_AON', if_true: files('sifive_e_aon.c')) 35de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SIFIVE_U_OTP', if_true: files('sifive_u_otp.c')) 36de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SIFIVE_U_PRCI', if_true: files('sifive_u_prci.c')) 3789ece6f7SBin Meng 38721cdcaeSMarc-André Lureausubdir('macio') 39721cdcaeSMarc-André Lureau 40e6c33efeSGustavo Romero# ivshmem devices 414daf88c1SGustavo Romerosystem_ss.add(when: 'CONFIG_IVSHMEM_DEVICE', if_true: files('ivshmem-pci.c')) 42e6c33efeSGustavo Romerosystem_ss.add(when: 'CONFIG_IVSHMEM_FLAT_DEVICE', if_true: files('ivshmem-flat.c')) 43721cdcaeSMarc-André Lureau 44de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_SRAMC', if_true: files('allwinner-sramc.c')) 45de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_A10_CCM', if_true: files('allwinner-a10-ccm.c')) 46de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_A10_DRAMC', if_true: files('allwinner-a10-dramc.c')) 47de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-ccu.c')) 48721cdcaeSMarc-André Lureauspecific_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-cpucfg.c')) 49de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-dramc.c')) 50de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-h3-sysctrl.c')) 51de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_H3', if_true: files('allwinner-sid.c')) 52de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40-ccu.c')) 53de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ALLWINNER_R40', if_true: files('allwinner-r40-dramc.c')) 54de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_AXP2XX_PMU', if_true: files('axp2xx.c')) 55de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_REALVIEW', if_true: files('arm_sysctl.c')) 56de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ECCMEMCTL', if_true: files('eccmemctl.c')) 57de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_pmu.c', 'exynos4210_clk.c', 'exynos4210_rng.c')) 5886c2dff9SBernhard Beschowsystem_ss.add(when: 'CONFIG_FSL_IMX8MP_ANALOG', if_true: files('imx8mp_analog.c')) 5986c2dff9SBernhard Beschowsystem_ss.add(when: 'CONFIG_FSL_IMX8MP_CCM', if_true: files('imx8mp_ccm.c')) 60de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_IMX', if_true: files( 61721cdcaeSMarc-André Lureau 'imx25_ccm.c', 62721cdcaeSMarc-André Lureau 'imx31_ccm.c', 63721cdcaeSMarc-André Lureau 'imx6_ccm.c', 643d81e8cfSThomas Huth 'imx6_src.c', 65721cdcaeSMarc-André Lureau 'imx6ul_ccm.c', 66721cdcaeSMarc-André Lureau 'imx7_ccm.c', 6712517bc9SJean-Christophe Dubois 'imx7_src.c', 68721cdcaeSMarc-André Lureau 'imx7_gpr.c', 69721cdcaeSMarc-André Lureau 'imx7_snvs.c', 70721cdcaeSMarc-André Lureau 'imx_ccm.c', 71721cdcaeSMarc-André Lureau 'imx_rngc.c', 72721cdcaeSMarc-André Lureau)) 73de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_NPCM7XX', if_true: files( 74c8283b0fSHao Wu 'npcm_clk.c', 75506af233SHao Wu 'npcm_gcr.c', 76380a37e4SHao Wu 'npcm7xx_mft.c', 771e943c58SHao Wu 'npcm7xx_pwm.c', 78326ccfe2SHavard Skinnemoen 'npcm7xx_rng.c', 79e5a7ba87SHavard Skinnemoen)) 80de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_OMAP', if_true: files( 81721cdcaeSMarc-André Lureau 'omap_clk.c', 82721cdcaeSMarc-André Lureau)) 83de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_RASPI', if_true: files( 84721cdcaeSMarc-André Lureau 'bcm2835_mbox.c', 85721cdcaeSMarc-André Lureau 'bcm2835_mphi.c', 86721cdcaeSMarc-André Lureau 'bcm2835_property.c', 87721cdcaeSMarc-André Lureau 'bcm2835_rng.c', 88721cdcaeSMarc-André Lureau 'bcm2835_thermal.c', 89fc14176bSLuc Michel 'bcm2835_cprman.c', 9038f2cfbbSNolan Leake 'bcm2835_powermgt.c', 91721cdcaeSMarc-André Lureau)) 92de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_misc.c')) 93de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ZYNQ', if_true: files('zynq_slcr.c')) 94de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-crf.c')) 95de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zynqmp-apu-ctrl.c')) 96de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files( 973e283646SPhilippe Mathieu-Daudé 'xlnx-versal-crl.c', 988c1c0a1bSFrancisco Iglesias 'xlnx-versal-xramc.c', 998c1c0a1bSFrancisco Iglesias 'xlnx-versal-pmc-iou-slcr.c', 10086d916c6SFrancisco Iglesias 'xlnx-versal-cfu.c', 1015a8559e2SFrancisco Iglesias 'xlnx-cfi-if.c', 102c6766f5bSFrancisco Iglesias 'xlnx-versal-cframe-reg.c', 1038c1c0a1bSFrancisco Iglesias)) 10492192358STong Hosystem_ss.add(when: 'CONFIG_XLNX_VERSAL_TRNG', if_true: files( 10592192358STong Ho 'xlnx-versal-trng.c', 10692192358STong Ho)) 107d1613f2aSRomán Cárdenas Rodríguezsystem_ss.add(when: 'CONFIG_STM32_RCC', if_true: files('stm32_rcc.c')) 108de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_STM32F2XX_SYSCFG', if_true: files('stm32f2xx_syscfg.c')) 109de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_STM32F4XX_SYSCFG', if_true: files('stm32f4xx_syscfg.c')) 110de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_STM32F4XX_EXTI', if_true: files('stm32f4xx_exti.c')) 111c9948fddSInès Varholsystem_ss.add(when: 'CONFIG_STM32L4X5_EXTI', if_true: files('stm32l4x5_exti.c')) 11220936684SInès Varholsystem_ss.add(when: 'CONFIG_STM32L4X5_SYSCFG', if_true: files('stm32l4x5_syscfg.c')) 113d6b55a0fSArnaud Miniersystem_ss.add(when: 'CONFIG_STM32L4X5_RCC', if_true: files('stm32l4x5_rcc.c')) 114de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MPS2_FPGAIO', if_true: files('mps2-fpgaio.c')) 115de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MPS2_SCC', if_true: files('mps2-scc.c')) 116721cdcaeSMarc-André Lureau 117de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_TZ_MPC', if_true: files('tz-mpc.c')) 118de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_TZ_MSC', if_true: files('tz-msc.c')) 119de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_TZ_PPC', if_true: files('tz-ppc.c')) 120de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_IOTKIT_SECCTL', if_true: files('iotkit-secctl.c')) 121de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_IOTKIT_SYSCTL', if_true: files('iotkit-sysctl.c')) 122de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_IOTKIT_SYSINFO', if_true: files('iotkit-sysinfo.c')) 123de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ARMSSE_CPU_PWRCTRL', if_true: files('armsse-cpu-pwrctrl.c')) 124de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ARMSSE_CPUID', if_true: files('armsse-cpuid.c')) 125de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ARMSSE_MHU', if_true: files('armsse-mhu.c')) 126721cdcaeSMarc-André Lureau 127de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_PVPANIC_ISA', if_true: files('pvpanic-isa.c')) 128de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_PVPANIC_PCI', if_true: files('pvpanic-pci.c')) 129*a89607c4SAlexander Grafsystem_ss.add(when: 'CONFIG_PVPANIC_MMIO', if_true: files('pvpanic-mmio.c')) 130de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_AUX', if_true: files('auxbus.c')) 131de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files( 132c5475b3fSJoel Stanley 'aspeed_hace.c', 133119df56bSTroy Lee 'aspeed_i3c.c', 1342ecf1726SCédric Le Goater 'aspeed_lpc.c', 1352ecf1726SCédric Le Goater 'aspeed_scu.c', 136e1acf581SJoel Stanley 'aspeed_sbc.c', 1372ecf1726SCédric Le Goater 'aspeed_sdmc.c', 13855c57023SPeter Delevoryas 'aspeed_xdma.c', 139f944890dSJamin Lin 'aspeed_peci.c', 140f944890dSJamin Lin 'aspeed_sli.c')) 1412ecf1726SCédric Le Goater 142de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-sysreg.c')) 143de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_rng.c')) 144721cdcaeSMarc-André Lureau 145de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_ahb_apb_pnp.c')) 146721cdcaeSMarc-André Lureau 147a8500f80SKlaus Jensensystem_ss.add(when: 'CONFIG_I2C_ECHO', if_true: files('i2c-echo.c')) 148b14037f3SKlaus Jensen 149721cdcaeSMarc-André Lureauspecific_ss.add(when: 'CONFIG_AVR_POWER', if_true: files('avr_power.c')) 150721cdcaeSMarc-André Lureau 151721cdcaeSMarc-André Lureauspecific_ss.add(when: 'CONFIG_MAC_VIA', if_true: files('mac_via.c')) 152721cdcaeSMarc-André Lureau 153721cdcaeSMarc-André Lureauspecific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_cmgcr.c', 'mips_cpc.c')) 154721cdcaeSMarc-André Lureauspecific_ss.add(when: 'CONFIG_MIPS_ITU', if_true: files('mips_itu.c')) 155dccb92b5SGraeme Gregory 156de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_SBSA_REF', if_true: files('sbsa_ec.c')) 15745f569a1SMark Cave-Ayland 15845f569a1SMark Cave-Ayland# HPPA devices 159de6cd759SPhilippe Mathieu-Daudésystem_ss.add(when: 'CONFIG_LASI', if_true: files('lasi.c')) 160