blob: 516f69d61cbcd62c9641e9375dadfffa9b9e1bfc [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glassb2c1cac2014-02-26 15:59:21 -07002#
3# Copyright (c) 2013 Google, Inc
Simon Glassb2c1cac2014-02-26 15:59:21 -07004
Simon Glassa1add9d2021-03-07 17:34:46 -07005obj-$(CONFIG_UT_DM) += test-dm.o
Simon Glass8ec29332020-10-03 09:25:26 -06006
7# Tests for particular subsystems - when enabling driver model for a new
8# subsystem you must add sandbox tests here.
Simon Glass25dc2e92020-10-25 20:38:29 -06009ifeq ($(CONFIG_SPL_BUILD),y)
10obj-$(CONFIG_SPL_OF_PLATDATA) += of_platdata.o
11else
Joe Hershberger9dc1d712015-05-20 14:27:29 -050012obj-$(CONFIG_UT_DM) += bus.o
13obj-$(CONFIG_UT_DM) += test-driver.o
14obj-$(CONFIG_UT_DM) += test-fdt.o
Joe Hershberger9dc1d712015-05-20 14:27:29 -050015obj-$(CONFIG_UT_DM) += test-uclass.o
Simon Glassb2c1cac2014-02-26 15:59:21 -070016
Joe Hershberger9dc1d712015-05-20 14:27:29 -050017obj-$(CONFIG_UT_DM) += core.o
Nicolas Saenz Julienne22b7f7e2021-01-12 13:55:23 +010018obj-$(CONFIG_UT_DM) += read.o
Nicolas Saenz Julienne3524a5e2021-01-12 13:55:27 +010019obj-$(CONFIG_UT_DM) += phys2bus.o
Simon Glass17e9c782014-06-11 23:29:50 -060020ifneq ($(CONFIG_SANDBOX),)
Simon Glass2d67fdf2020-04-08 16:57:34 -060021obj-$(CONFIG_ACPIGEN) += acpi.o
Simon Glass98528d42020-07-07 13:11:42 -060022obj-$(CONFIG_ACPIGEN) += acpigen.o
Simon Glassc993ff72020-07-07 13:11:56 -060023obj-$(CONFIG_ACPIGEN) += acpi_dp.o
Sean Andersondffb3472021-04-20 11:03:12 -040024obj-$(CONFIG_ADC) += adc.o
Simon Glassab6dbe62018-12-10 10:37:47 -070025obj-$(CONFIG_SOUND) += audio.o
Sean Andersondffb3472021-04-20 11:03:12 -040026obj-$(CONFIG_AXI) += axi.o
Simon Glass89c1dcd2016-03-13 08:22:36 -060027obj-$(CONFIG_BLK) += blk.o
Philippe Reynes0785e202020-07-24 18:19:52 +020028obj-$(CONFIG_BUTTON) += button.o
Philipp Tomsich1fc53302018-12-14 21:14:29 +010029obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o
Nandor Han6521e5d2021-06-10 16:56:44 +030030obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode.o
Lukasz Majewski8c0709b2019-06-24 15:50:50 +020031obj-$(CONFIG_CLK) += clk.o clk_ccf.o
Sean Andersondffb3472021-04-20 11:03:12 -040032obj-$(CONFIG_CPU) += cpu.o
Simon Glass9b306e52021-01-16 14:52:22 -070033obj-$(CONFIG_CROS_EC) += cros_ec.o
Alper Nebi Yasak8a8cd4f2021-05-19 19:33:31 +030034obj-$(CONFIG_PWM_CROS_EC) += cros_ec_pwm.o
Simon Glass323ff9f2019-12-29 21:19:26 -070035obj-$(CONFIG_DEVRES) += devres.o
Sean Andersondffb3472021-04-20 11:03:12 -040036obj-$(CONFIG_DMA) += dma.o
Yannick Fertré9712c822019-10-07 15:29:05 +020037obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi_host.o
Claudiu Manoild9eaa922021-03-14 20:14:57 +080038obj-$(CONFIG_DM_DSA) += dsa.o
Alexandru Gagniuc9f1868e2021-07-29 11:47:19 -050039obj-$(CONFIG_ECDSA_VERIFY) += ecdsa.o
Joe Hershberger4c197242015-03-22 17:09:15 -050040obj-$(CONFIG_DM_ETH) += eth.o
Sean Andersondffb3472021-04-20 11:03:12 -040041ifneq ($(CONFIG_EFI_PARTITION),)
42obj-$(CONFIG_FASTBOOT_FLASH_MMC) += fastboot.o
43endif
Rajan Vajab3b2ddb2018-09-19 03:43:46 -070044obj-$(CONFIG_FIRMWARE) += firmware.o
Simon Glassb2c1cac2014-02-26 15:59:21 -070045obj-$(CONFIG_DM_GPIO) += gpio.o
Benjamin Gaignarda550b542018-11-27 13:49:50 +010046obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o
Simon Glass7df766e2014-12-10 08:55:55 -070047obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassab6dbe62018-12-10 10:37:47 -070048obj-$(CONFIG_SOUND) += i2s.o
Simon Glass54028bc2019-12-06 21:41:59 -070049obj-y += irq.o
Sean Andersondffb3472021-04-20 11:03:12 -040050obj-$(CONFIG_CLK_K210_SET_RATE) += k210_pll.o
Simon Glassd783eb32015-07-06 12:54:34 -060051obj-$(CONFIG_LED) += led.o
Stephen Warren62f2c902016-05-16 17:41:37 -060052obj-$(CONFIG_DM_MAILBOX) += mailbox.o
Sean Andersondffb3472021-04-20 11:03:12 -040053obj-$(CONFIG_DM_MDIO) += mdio.o
54obj-$(CONFIG_DM_MDIO_MUX) += mdio_mux.o
55obj-$(CONFIG_MISC) += misc.o
Simon Glassd3e58e42015-07-06 12:54:32 -060056obj-$(CONFIG_DM_MMC) += mmc.o
Pratyush Yadav11e47862020-10-16 16:16:36 +053057obj-$(CONFIG_CMD_MUX) += mux-cmd.o
Sean Andersondffb3472021-04-20 11:03:12 -040058obj-$(CONFIG_MULTIPLEXER) += mux-emul.o
59obj-$(CONFIG_MUX_MMIO) += mux-mmio.o
Laurentiu Tudor62070e02020-04-03 13:43:04 +030060obj-y += fdtdec.o
Simon Glass8ec29332020-10-03 09:25:26 -060061obj-$(CONFIG_UT_DM) += nop.o
Patrick Delaunaycaee1552020-01-13 11:34:56 +010062obj-y += ofnode.o
63obj-y += ofread.o
Simon Glassbf0a6922021-01-21 13:57:14 -070064obj-y += of_extra.o
Mario Six02ad6fb2018-09-27 09:19:31 +020065obj-$(CONFIG_OSD) += osd.o
Simon Glass5620cf82018-10-01 12:22:40 -060066obj-$(CONFIG_DM_VIDEO) += panel.o
Sean Anderson619a1822021-04-12 18:53:07 -040067obj-$(CONFIG_EFI_PARTITION) += part.o
Simon Glass3a6eae62015-03-05 12:25:34 -070068obj-$(CONFIG_DM_PCI) += pci.o
Simon Glass937bb472019-12-06 21:41:57 -070069obj-$(CONFIG_P2SB) += p2sb.o
Ramon Friedafdb3422019-04-27 11:15:24 +030070obj-$(CONFIG_PCI_ENDPOINT) += pci_ep.o
Simon Glass53a68b32019-02-16 20:24:50 -070071obj-$(CONFIG_PCH) += pch.o
Jean-Jacques Hiblot7e9db022017-04-24 11:51:28 +020072obj-$(CONFIG_PHY) += phy.o
Sean Andersondffb3472021-04-20 11:03:12 -040073ifneq ($(CONFIG_PINMUX),)
74obj-$(CONFIG_PINCONF) += pinmux.o
75endif
Stephen Warren92c67fa2016-07-13 13:45:31 -060076obj-$(CONFIG_POWER_DOMAIN) += power-domain.o
Simon Glass8c501022019-12-06 21:41:54 -070077obj-$(CONFIG_ACPI_PMC) += pmc.o
Sean Andersondffb3472021-04-20 11:03:12 -040078obj-$(CONFIG_DM_PMIC) += pmic.o
Simon Glasse62f4be2017-04-16 21:01:11 -060079obj-$(CONFIG_DM_PWM) += pwm.o
Sean Andersondffb3472021-04-20 11:03:12 -040080obj-$(CONFIG_QFW) += qfw.o
Simon Glass3d355e62015-07-06 12:54:31 -060081obj-$(CONFIG_RAM) += ram.o
Simon Glass265142a2015-07-06 12:54:39 -060082obj-y += regmap.o
Nishanth Menonaab9a932015-09-17 15:42:42 -050083obj-$(CONFIG_REMOTEPROC) += remoteproc.o
Stephen Warren6488e642016-06-17 09:43:59 -060084obj-$(CONFIG_DM_RESET) += reset.o
Stephen Warren859f2562016-05-12 12:03:35 -060085obj-$(CONFIG_SYSRESET) += sysreset.o
Sean Andersondffb3472021-04-20 11:03:12 -040086obj-$(CONFIG_DM_REGULATOR) += regulator.o
87obj-$(CONFIG_DM_RNG) += rng.o
Simon Glassc83c4b92015-04-20 12:37:31 -060088obj-$(CONFIG_DM_RTC) += rtc.o
Sean Andersondffb3472021-04-20 11:03:12 -040089obj-$(CONFIG_SCMI_FIRMWARE) += scmi.o
90obj-$(CONFIG_DM_SERIAL) += serial.o
Simon Glass3142b5f2016-02-24 09:14:57 -070091obj-$(CONFIG_DM_SPI_FLASH) += sf.o
Sean Andersondffb3472021-04-20 11:03:12 -040092obj-$(CONFIG_SIMPLE_BUS) += simple-bus.o
93obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
Ramon Friede8826f52018-07-02 02:58:00 +030094obj-$(CONFIG_SMEM) += smem.o
Dave Gerlach75dbdfc2020-07-15 23:39:58 -050095obj-$(CONFIG_SOC_DEVICE) += soc.o
Simon Glassab6dbe62018-12-10 10:37:47 -070096obj-$(CONFIG_SOUND) += sound.o
Sean Andersondffb3472021-04-20 11:03:12 -040097obj-$(CONFIG_DM_SPI) += spi.o
98obj-$(CONFIG_SPMI) += spmi.o
99obj-y += syscon.o
100obj-$(CONFIG_RESET_SYSCON) += syscon-reset.o
Simon Glass458b66a2020-11-05 06:32:05 -0700101obj-$(CONFIG_SYSINFO) += sysinfo.o
Sean Anderson1c830672021-04-20 10:50:58 -0400102obj-$(CONFIG_SYSINFO_GPIO) += sysinfo-gpio.o
Jens Wiklandera10b9832018-09-25 16:40:19 +0200103obj-$(CONFIG_TEE) += tee.o
Sean Andersondffb3472021-04-20 11:03:12 -0400104obj-$(CONFIG_TIMER) += timer.o
105obj-$(CONFIG_DM_USB) += usb.o
106obj-$(CONFIG_DM_VIDEO) += video.o
Bin Meng1bb290d2018-10-15 02:21:26 -0700107obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o
Sean Andersondffb3472021-04-20 11:03:12 -0400108obj-$(CONFIG_WDT) += wdt.o
Simon Glass17e9c782014-06-11 23:29:50 -0600109endif
Simon Glass8ec29332020-10-03 09:25:26 -0600110endif # !SPL