blob: fd1455109d4c9344ca808f21419702295a32517b [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Simon Glass2e7d35d2014-02-26 15:59:21 -07002#
3# Copyright (c) 2013 Google, Inc
Simon Glass2e7d35d2014-02-26 15:59:21 -07004
Joe Hershberger40441e02015-05-20 14:27:29 -05005obj-$(CONFIG_UT_DM) += test-main.o
Simon Glass2e7d35d2014-02-26 15:59:21 -07006
7# Tests for particular subsystems - when enabling driver model for a new
8# subsystem you must add sandbox tests here.
Simon Glass217293e2020-10-25 20:38:29 -06009ifeq ($(CONFIG_SPL_BUILD),y)
10obj-$(CONFIG_SPL_OF_PLATDATA) += of_platdata.o
11else
Simon Glass627988f2020-10-03 09:25:26 -060012obj-$(CONFIG_UT_DM) += bus.o
13obj-$(CONFIG_UT_DM) += test-driver.o
14obj-$(CONFIG_UT_DM) += test-fdt.o
15obj-$(CONFIG_UT_DM) += test-uclass.o
16
Joe Hershberger40441e02015-05-20 14:27:29 -050017obj-$(CONFIG_UT_DM) += core.o
Nicolas Saenz Julienne283628c2021-01-12 13:55:23 +010018obj-$(CONFIG_UT_DM) += read.o
Nicolas Saenz Julienne30b20e62021-01-12 13:55:27 +010019obj-$(CONFIG_UT_DM) += phys2bus.o
Simon Glassb6a49a72014-06-11 23:29:50 -060020ifneq ($(CONFIG_SANDBOX),)
Simon Glassf50cc952020-04-08 16:57:34 -060021obj-$(CONFIG_ACPIGEN) += acpi.o
Simon Glass61cc9332020-07-07 13:11:42 -060022obj-$(CONFIG_ACPIGEN) += acpigen.o
Simon Glass0e5a0a02020-07-07 13:11:56 -060023obj-$(CONFIG_ACPIGEN) += acpi_dp.o
Simon Glassf2b25c92018-12-10 10:37:47 -070024obj-$(CONFIG_SOUND) += audio.o
Simon Glasse4fb8632016-03-13 08:22:36 -060025obj-$(CONFIG_BLK) += blk.o
Philippe Reynes1d310002020-07-24 18:19:52 +020026obj-$(CONFIG_BUTTON) += button.o
Philipp Tomsich6f2d59c2018-12-14 21:14:29 +010027obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o
Lukasz Majewski87e460c2019-06-24 15:50:50 +020028obj-$(CONFIG_CLK) += clk.o clk_ccf.o
Simon Glassd8e9a932021-01-16 14:52:22 -070029obj-$(CONFIG_CROS_EC) += cros_ec.o
Simon Glass8d6320c2019-12-29 21:19:26 -070030obj-$(CONFIG_DEVRES) += devres.o
Yannick Fertré23f965a2019-10-07 15:29:05 +020031obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi_host.o
Joe Hershbergerbfacad72015-03-22 17:09:15 -050032obj-$(CONFIG_DM_ETH) += eth.o
Rajan Vaja31b82172018-09-19 03:43:46 -070033obj-$(CONFIG_FIRMWARE) += firmware.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070034obj-$(CONFIG_DM_GPIO) += gpio.o
Benjamin Gaignard7f84fc62018-11-27 13:49:50 +010035obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o
Simon Glassecc2ed52014-12-10 08:55:55 -070036obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassf2b25c92018-12-10 10:37:47 -070037obj-$(CONFIG_SOUND) += i2s.o
Simon Glassfbb0efd2019-12-06 21:41:59 -070038obj-y += irq.o
Simon Glass3c43fba2015-07-06 12:54:34 -060039obj-$(CONFIG_LED) += led.o
Stephen Warren8961b522016-05-16 17:41:37 -060040obj-$(CONFIG_DM_MAILBOX) += mailbox.o
Simon Glass8e6cc462015-07-06 12:54:32 -060041obj-$(CONFIG_DM_MMC) += mmc.o
Pratyush Yadav15995ac2020-10-16 16:16:36 +053042obj-$(CONFIG_CMD_MUX) += mux-cmd.o
Laurentiu Tudor528d6b32020-04-03 13:43:04 +030043obj-y += fdtdec.o
Simon Glass627988f2020-10-03 09:25:26 -060044obj-$(CONFIG_UT_DM) += nop.o
Patrick Delaunayce891fca2020-01-13 11:34:56 +010045obj-y += ofnode.o
46obj-y += ofread.o
Simon Glassff5fa7d2021-01-21 13:57:14 -070047obj-y += of_extra.o
Mario Six4eea5312018-09-27 09:19:31 +020048obj-$(CONFIG_OSD) += osd.o
Simon Glass5d9a88f2018-10-01 12:22:40 -060049obj-$(CONFIG_DM_VIDEO) += panel.o
Simon Glassd3b7ff12015-03-05 12:25:34 -070050obj-$(CONFIG_DM_PCI) += pci.o
Simon Glass3e17ffb2019-12-06 21:41:57 -070051obj-$(CONFIG_P2SB) += p2sb.o
Ramon Friedf2a55ac2019-04-27 11:15:24 +030052obj-$(CONFIG_PCI_ENDPOINT) += pci_ep.o
Simon Glassb45c8332019-02-16 20:24:50 -070053obj-$(CONFIG_PCH) += pch.o
Jean-Jacques Hiblot86322f52017-04-24 11:51:28 +020054obj-$(CONFIG_PHY) += phy.o
Stephen Warren61f5ddc2016-07-13 13:45:31 -060055obj-$(CONFIG_POWER_DOMAIN) += power-domain.o
Simon Glass3b65ee32019-12-06 21:41:54 -070056obj-$(CONFIG_ACPI_PMC) += pmc.o
Simon Glass43b41562017-04-16 21:01:11 -060057obj-$(CONFIG_DM_PWM) += pwm.o
Simon Glass64ce0ca2015-07-06 12:54:31 -060058obj-$(CONFIG_RAM) += ram.o
Simon Glass86075ba2015-07-06 12:54:39 -060059obj-y += regmap.o
Nishanth Menonbfaa2d92015-09-17 15:42:42 -050060obj-$(CONFIG_REMOTEPROC) += remoteproc.o
Stephen Warren4581b712016-06-17 09:43:59 -060061obj-$(CONFIG_DM_RESET) += reset.o
Stephen Warren11636252016-05-12 12:03:35 -060062obj-$(CONFIG_SYSRESET) += sysreset.o
Simon Glass47725112015-04-20 12:37:31 -060063obj-$(CONFIG_DM_RTC) += rtc.o
Simon Glassf8025b52016-02-24 09:14:57 -070064obj-$(CONFIG_DM_SPI_FLASH) += sf.o
Ramon Fried20e77052018-07-02 02:58:00 +030065obj-$(CONFIG_SMEM) += smem.o
Simon Glassf8025b52016-02-24 09:14:57 -070066obj-$(CONFIG_DM_SPI) += spi.o
Simon Glass04035fd2015-07-06 12:54:35 -060067obj-y += syscon.o
Jean-Jacques Hiblot739592c2020-10-16 16:16:34 +053068obj-$(CONFIG_MUX_MMIO) += mux-mmio.o
69obj-$(CONFIG_MULTIPLEXER) += mux-emul.o
Simon Glasse00cb222015-03-25 12:23:05 -060070obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczake8f339e2015-05-13 13:38:33 +020071obj-$(CONFIG_DM_PMIC) += pmic.o
72obj-$(CONFIG_DM_REGULATOR) += regulator.o
Thomas Chou9961a0b2015-10-30 15:35:52 +080073obj-$(CONFIG_TIMER) += timer.o
Simon Glass3c97c4f2016-01-18 19:52:26 -070074obj-$(CONFIG_DM_VIDEO) += video.o
Przemyslaw Marczakc48cb7e2015-10-27 13:08:07 +010075obj-$(CONFIG_ADC) += adc.o
Mateusz Kulikowskid33776e2016-03-31 23:12:28 +020076obj-$(CONFIG_SPMI) += spmi.o
maxims@google.com0753bc22017-04-17 12:00:21 -070077obj-$(CONFIG_WDT) += wdt.o
Mario Six87940ec2018-08-09 14:51:20 +020078obj-$(CONFIG_AXI) += axi.o
Mario Six004e67c2018-07-31 14:24:14 +020079obj-$(CONFIG_MISC) += misc.o
Patrice Chotardd7c09682018-08-03 15:07:41 +020080obj-$(CONFIG_DM_SERIAL) += serial.o
Mario Sixfa44b532018-08-06 10:23:44 +020081obj-$(CONFIG_CPU) += cpu.o
Dave Gerlach21e3c212020-07-15 23:39:58 -050082obj-$(CONFIG_SOC_DEVICE) += soc.o
Simon Glassf2b25c92018-12-10 10:37:47 -070083obj-$(CONFIG_SOUND) += sound.o
Simon Glass3a8ee3d2020-11-05 06:32:05 -070084obj-$(CONFIG_SYSINFO) += sysinfo.o
Jens Wiklandera6ab4242018-09-25 16:40:19 +020085obj-$(CONFIG_TEE) += tee.o
Bin Meng4f89d492018-10-15 02:21:26 -070086obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o
Grygorii Strashkob3309912018-11-28 19:17:51 +010087obj-$(CONFIG_DMA) += dma.o
Alex Margineanec9594a2019-06-03 19:12:28 +030088obj-$(CONFIG_DM_MDIO) += mdio.o
Alex Margineanc3d9f3f2019-07-12 10:13:53 +030089obj-$(CONFIG_DM_MDIO_MUX) += mdio_mux.o
Sughosh Ganu4ee08eb2019-12-28 23:58:33 +053090obj-$(CONFIG_DM_RNG) += rng.o
Sean Anderson019ef9a2020-06-24 06:41:09 -040091obj-$(CONFIG_CLK_K210_SET_RATE) += k210_pll.o
Sean Anderson4a3390f2020-06-24 06:41:12 -040092obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
Sean Anderson038b13e2020-06-24 06:41:14 -040093obj-$(CONFIG_RESET_SYSCON) += syscon-reset.o
Etienne Carriere358599e2020-09-09 18:44:00 +020094obj-$(CONFIG_SCMI_FIRMWARE) += scmi.o
Sean Anderson7f0f1802020-09-14 11:01:57 -040095ifneq ($(CONFIG_PINMUX),)
96obj-$(CONFIG_PINCONF) += pinmux.o
97endif
Sean Andersond4f22cb2021-02-05 09:38:54 -050098ifneq ($(CONFIG_EFI_PARTITION),)
99obj-$(CONFIG_FASTBOOT_FLASH_MMC) += fastboot.o
100endif
Simon Glassb6a49a72014-06-11 23:29:50 -0600101endif
Simon Glass627988f2020-10-03 09:25:26 -0600102endif # !SPL