blob: 57e13ad533873f5cf6ed8ac3addb8285b87965f6 [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 Glass8ec29332020-10-03 09:25:26 -06005obj-$(CONFIG_UT_DM) += test-main.o
6
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
Simon Glass17e9c782014-06-11 23:29:50 -060018ifneq ($(CONFIG_SANDBOX),)
Simon Glass2d67fdf2020-04-08 16:57:34 -060019obj-$(CONFIG_ACPIGEN) += acpi.o
Simon Glass98528d42020-07-07 13:11:42 -060020obj-$(CONFIG_ACPIGEN) += acpigen.o
Simon Glassc993ff72020-07-07 13:11:56 -060021obj-$(CONFIG_ACPIGEN) += acpi_dp.o
Simon Glassab6dbe62018-12-10 10:37:47 -070022obj-$(CONFIG_SOUND) += audio.o
Simon Glass89c1dcd2016-03-13 08:22:36 -060023obj-$(CONFIG_BLK) += blk.o
Mario Sixab664ff2018-07-31 11:44:13 +020024obj-$(CONFIG_BOARD) += board.o
Philippe Reynes0785e202020-07-24 18:19:52 +020025obj-$(CONFIG_BUTTON) += button.o
Philipp Tomsich1fc53302018-12-14 21:14:29 +010026obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o
Lukasz Majewski8c0709b2019-06-24 15:50:50 +020027obj-$(CONFIG_CLK) += clk.o clk_ccf.o
Simon Glass323ff9f2019-12-29 21:19:26 -070028obj-$(CONFIG_DEVRES) += devres.o
Yannick Fertré9712c822019-10-07 15:29:05 +020029obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi_host.o
Joe Hershberger4c197242015-03-22 17:09:15 -050030obj-$(CONFIG_DM_ETH) += eth.o
Rajan Vajab3b2ddb2018-09-19 03:43:46 -070031obj-$(CONFIG_FIRMWARE) += firmware.o
Simon Glassb2c1cac2014-02-26 15:59:21 -070032obj-$(CONFIG_DM_GPIO) += gpio.o
Benjamin Gaignarda550b542018-11-27 13:49:50 +010033obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o
Simon Glass7df766e2014-12-10 08:55:55 -070034obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassab6dbe62018-12-10 10:37:47 -070035obj-$(CONFIG_SOUND) += i2s.o
Simon Glass54028bc2019-12-06 21:41:59 -070036obj-y += irq.o
Simon Glassd783eb32015-07-06 12:54:34 -060037obj-$(CONFIG_LED) += led.o
Stephen Warren62f2c902016-05-16 17:41:37 -060038obj-$(CONFIG_DM_MAILBOX) += mailbox.o
Simon Glassd3e58e42015-07-06 12:54:32 -060039obj-$(CONFIG_DM_MMC) += mmc.o
Pratyush Yadav11e47862020-10-16 16:16:36 +053040obj-$(CONFIG_CMD_MUX) += mux-cmd.o
Laurentiu Tudor62070e02020-04-03 13:43:04 +030041obj-y += fdtdec.o
Simon Glass8ec29332020-10-03 09:25:26 -060042obj-$(CONFIG_UT_DM) += nop.o
Patrick Delaunaycaee1552020-01-13 11:34:56 +010043obj-y += ofnode.o
44obj-y += ofread.o
Mario Six02ad6fb2018-09-27 09:19:31 +020045obj-$(CONFIG_OSD) += osd.o
Simon Glass5620cf82018-10-01 12:22:40 -060046obj-$(CONFIG_DM_VIDEO) += panel.o
Simon Glass3a6eae62015-03-05 12:25:34 -070047obj-$(CONFIG_DM_PCI) += pci.o
Simon Glass937bb472019-12-06 21:41:57 -070048obj-$(CONFIG_P2SB) += p2sb.o
Ramon Friedafdb3422019-04-27 11:15:24 +030049obj-$(CONFIG_PCI_ENDPOINT) += pci_ep.o
Simon Glass53a68b32019-02-16 20:24:50 -070050obj-$(CONFIG_PCH) += pch.o
Jean-Jacques Hiblot7e9db022017-04-24 11:51:28 +020051obj-$(CONFIG_PHY) += phy.o
Stephen Warren92c67fa2016-07-13 13:45:31 -060052obj-$(CONFIG_POWER_DOMAIN) += power-domain.o
Simon Glass8c501022019-12-06 21:41:54 -070053obj-$(CONFIG_ACPI_PMC) += pmc.o
Simon Glasse62f4be2017-04-16 21:01:11 -060054obj-$(CONFIG_DM_PWM) += pwm.o
Simon Glass3d355e62015-07-06 12:54:31 -060055obj-$(CONFIG_RAM) += ram.o
Simon Glass265142a2015-07-06 12:54:39 -060056obj-y += regmap.o
Nishanth Menonaab9a932015-09-17 15:42:42 -050057obj-$(CONFIG_REMOTEPROC) += remoteproc.o
Stephen Warren6488e642016-06-17 09:43:59 -060058obj-$(CONFIG_DM_RESET) += reset.o
Stephen Warren859f2562016-05-12 12:03:35 -060059obj-$(CONFIG_SYSRESET) += sysreset.o
Simon Glassc83c4b92015-04-20 12:37:31 -060060obj-$(CONFIG_DM_RTC) += rtc.o
Simon Glass3142b5f2016-02-24 09:14:57 -070061obj-$(CONFIG_DM_SPI_FLASH) += sf.o
Ramon Friede8826f52018-07-02 02:58:00 +030062obj-$(CONFIG_SMEM) += smem.o
Simon Glass3142b5f2016-02-24 09:14:57 -070063obj-$(CONFIG_DM_SPI) += spi.o
Simon Glasscd556522015-07-06 12:54:35 -060064obj-y += syscon.o
Jean-Jacques Hiblota94b6972020-10-16 16:16:34 +053065obj-$(CONFIG_MUX_MMIO) += mux-mmio.o
66obj-$(CONFIG_MULTIPLEXER) += mux-emul.o
Simon Glass31680482015-03-25 12:23:05 -060067obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczakdca94502015-05-13 13:38:33 +020068obj-$(CONFIG_DM_PMIC) += pmic.o
69obj-$(CONFIG_DM_REGULATOR) += regulator.o
Thomas Chou7b059dc2015-10-30 15:35:52 +080070obj-$(CONFIG_TIMER) += timer.o
Simon Glass90b6fef2016-01-18 19:52:26 -070071obj-$(CONFIG_DM_VIDEO) += video.o
Przemyslaw Marczak23bc2a72015-10-27 13:08:07 +010072obj-$(CONFIG_ADC) += adc.o
Mateusz Kulikowskic7e4fbb2016-03-31 23:12:28 +020073obj-$(CONFIG_SPMI) += spmi.o
maxims@google.comdaea6d42017-04-17 12:00:21 -070074obj-$(CONFIG_WDT) += wdt.o
Mario Six16f57da2018-08-09 14:51:20 +020075obj-$(CONFIG_AXI) += axi.o
Mario Sixa8ce0ee2018-07-31 14:24:14 +020076obj-$(CONFIG_MISC) += misc.o
Patrice Chotard70ed0ea2018-08-03 15:07:41 +020077obj-$(CONFIG_DM_SERIAL) += serial.o
Mario Sixdea5df72018-08-06 10:23:44 +020078obj-$(CONFIG_CPU) += cpu.o
Dave Gerlach75dbdfc2020-07-15 23:39:58 -050079obj-$(CONFIG_SOC_DEVICE) += soc.o
Simon Glassab6dbe62018-12-10 10:37:47 -070080obj-$(CONFIG_SOUND) += sound.o
Jens Wiklandera10b9832018-09-25 16:40:19 +020081obj-$(CONFIG_TEE) += tee.o
Bin Meng1bb290d2018-10-15 02:21:26 -070082obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o
Grygorii Strashko19ebf0b2018-11-28 19:17:51 +010083obj-$(CONFIG_DMA) += dma.o
Alex Marginean0daa53a2019-06-03 19:12:28 +030084obj-$(CONFIG_DM_MDIO) += mdio.o
Alex Marginean0649be52019-07-12 10:13:53 +030085obj-$(CONFIG_DM_MDIO_MUX) += mdio_mux.o
Sughosh Ganu912893d2019-12-28 23:58:33 +053086obj-$(CONFIG_DM_RNG) += rng.o
Sean Anderson6e887ee2020-06-24 06:41:09 -040087obj-$(CONFIG_CLK_K210_SET_RATE) += k210_pll.o
Sean Andersonb7860542020-06-24 06:41:12 -040088obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
Sean Anderson0c1f6bf2020-06-24 06:41:14 -040089obj-$(CONFIG_RESET_SYSCON) += syscon-reset.o
Etienne Carriere02fd1262020-09-09 18:44:00 +020090obj-$(CONFIG_SCMI_FIRMWARE) += scmi.o
Sean Anderson3438e3b2020-09-14 11:01:57 -040091ifneq ($(CONFIG_PINMUX),)
92obj-$(CONFIG_PINCONF) += pinmux.o
93endif
Simon Glass17e9c782014-06-11 23:29:50 -060094endif
Simon Glass8ec29332020-10-03 09:25:26 -060095endif # !SPL