Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2013 Google, Inc |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 4 | |
Simon Glass | 8ec2933 | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 5 | obj-$(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 Glass | 25dc2e9 | 2020-10-25 20:38:29 -0600 | [diff] [blame] | 9 | ifeq ($(CONFIG_SPL_BUILD),y) |
| 10 | obj-$(CONFIG_SPL_OF_PLATDATA) += of_platdata.o |
| 11 | else |
Joe Hershberger | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 12 | obj-$(CONFIG_UT_DM) += bus.o |
| 13 | obj-$(CONFIG_UT_DM) += test-driver.o |
| 14 | obj-$(CONFIG_UT_DM) += test-fdt.o |
Joe Hershberger | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 15 | obj-$(CONFIG_UT_DM) += test-uclass.o |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 16 | |
Joe Hershberger | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 17 | obj-$(CONFIG_UT_DM) += core.o |
Simon Glass | 17e9c78 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 18 | ifneq ($(CONFIG_SANDBOX),) |
Simon Glass | 2d67fdf | 2020-04-08 16:57:34 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_ACPIGEN) += acpi.o |
Simon Glass | 98528d4 | 2020-07-07 13:11:42 -0600 | [diff] [blame] | 20 | obj-$(CONFIG_ACPIGEN) += acpigen.o |
Simon Glass | c993ff7 | 2020-07-07 13:11:56 -0600 | [diff] [blame] | 21 | obj-$(CONFIG_ACPIGEN) += acpi_dp.o |
Simon Glass | ab6dbe6 | 2018-12-10 10:37:47 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_SOUND) += audio.o |
Simon Glass | 89c1dcd | 2016-03-13 08:22:36 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_BLK) += blk.o |
Mario Six | ab664ff | 2018-07-31 11:44:13 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_BOARD) += board.o |
Philippe Reynes | 0785e20 | 2020-07-24 18:19:52 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_BUTTON) += button.o |
Philipp Tomsich | 1fc5330 | 2018-12-14 21:14:29 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o |
Lukasz Majewski | 8c0709b | 2019-06-24 15:50:50 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_CLK) += clk.o clk_ccf.o |
Simon Glass | 323ff9f | 2019-12-29 21:19:26 -0700 | [diff] [blame] | 28 | obj-$(CONFIG_DEVRES) += devres.o |
Yannick Fertré | 9712c82 | 2019-10-07 15:29:05 +0200 | [diff] [blame] | 29 | obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi_host.o |
Joe Hershberger | 4c19724 | 2015-03-22 17:09:15 -0500 | [diff] [blame] | 30 | obj-$(CONFIG_DM_ETH) += eth.o |
Rajan Vaja | b3b2ddb | 2018-09-19 03:43:46 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_FIRMWARE) += firmware.o |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_DM_GPIO) += gpio.o |
Benjamin Gaignard | a550b54 | 2018-11-27 13:49:50 +0100 | [diff] [blame] | 33 | obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_DM_I2C) += i2c.o |
Simon Glass | ab6dbe6 | 2018-12-10 10:37:47 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_SOUND) += i2s.o |
Simon Glass | 54028bc | 2019-12-06 21:41:59 -0700 | [diff] [blame] | 36 | obj-y += irq.o |
Simon Glass | d783eb3 | 2015-07-06 12:54:34 -0600 | [diff] [blame] | 37 | obj-$(CONFIG_LED) += led.o |
Stephen Warren | 62f2c90 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 38 | obj-$(CONFIG_DM_MAILBOX) += mailbox.o |
Simon Glass | d3e58e4 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 39 | obj-$(CONFIG_DM_MMC) += mmc.o |
Pratyush Yadav | 11e4786 | 2020-10-16 16:16:36 +0530 | [diff] [blame] | 40 | obj-$(CONFIG_CMD_MUX) += mux-cmd.o |
Laurentiu Tudor | 62070e0 | 2020-04-03 13:43:04 +0300 | [diff] [blame] | 41 | obj-y += fdtdec.o |
Simon Glass | 8ec2933 | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 42 | obj-$(CONFIG_UT_DM) += nop.o |
Patrick Delaunay | caee155 | 2020-01-13 11:34:56 +0100 | [diff] [blame] | 43 | obj-y += ofnode.o |
| 44 | obj-y += ofread.o |
Mario Six | 02ad6fb | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 45 | obj-$(CONFIG_OSD) += osd.o |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 46 | obj-$(CONFIG_DM_VIDEO) += panel.o |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_DM_PCI) += pci.o |
Simon Glass | 937bb47 | 2019-12-06 21:41:57 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_P2SB) += p2sb.o |
Ramon Fried | afdb342 | 2019-04-27 11:15:24 +0300 | [diff] [blame] | 49 | obj-$(CONFIG_PCI_ENDPOINT) += pci_ep.o |
Simon Glass | 53a68b3 | 2019-02-16 20:24:50 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_PCH) += pch.o |
Jean-Jacques Hiblot | 7e9db02 | 2017-04-24 11:51:28 +0200 | [diff] [blame] | 51 | obj-$(CONFIG_PHY) += phy.o |
Stephen Warren | 92c67fa | 2016-07-13 13:45:31 -0600 | [diff] [blame] | 52 | obj-$(CONFIG_POWER_DOMAIN) += power-domain.o |
Simon Glass | 8c50102 | 2019-12-06 21:41:54 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_ACPI_PMC) += pmc.o |
Simon Glass | e62f4be | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 54 | obj-$(CONFIG_DM_PWM) += pwm.o |
Simon Glass | 3d355e6 | 2015-07-06 12:54:31 -0600 | [diff] [blame] | 55 | obj-$(CONFIG_RAM) += ram.o |
Simon Glass | 265142a | 2015-07-06 12:54:39 -0600 | [diff] [blame] | 56 | obj-y += regmap.o |
Nishanth Menon | aab9a93 | 2015-09-17 15:42:42 -0500 | [diff] [blame] | 57 | obj-$(CONFIG_REMOTEPROC) += remoteproc.o |
Stephen Warren | 6488e64 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 58 | obj-$(CONFIG_DM_RESET) += reset.o |
Stephen Warren | 859f256 | 2016-05-12 12:03:35 -0600 | [diff] [blame] | 59 | obj-$(CONFIG_SYSRESET) += sysreset.o |
Simon Glass | c83c4b9 | 2015-04-20 12:37:31 -0600 | [diff] [blame] | 60 | obj-$(CONFIG_DM_RTC) += rtc.o |
Simon Glass | 3142b5f | 2016-02-24 09:14:57 -0700 | [diff] [blame] | 61 | obj-$(CONFIG_DM_SPI_FLASH) += sf.o |
Ramon Fried | e8826f5 | 2018-07-02 02:58:00 +0300 | [diff] [blame] | 62 | obj-$(CONFIG_SMEM) += smem.o |
Simon Glass | 3142b5f | 2016-02-24 09:14:57 -0700 | [diff] [blame] | 63 | obj-$(CONFIG_DM_SPI) += spi.o |
Simon Glass | cd55652 | 2015-07-06 12:54:35 -0600 | [diff] [blame] | 64 | obj-y += syscon.o |
Jean-Jacques Hiblot | a94b697 | 2020-10-16 16:16:34 +0530 | [diff] [blame] | 65 | obj-$(CONFIG_MUX_MMIO) += mux-mmio.o |
| 66 | obj-$(CONFIG_MULTIPLEXER) += mux-emul.o |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 67 | obj-$(CONFIG_DM_USB) += usb.o |
Przemyslaw Marczak | dca9450 | 2015-05-13 13:38:33 +0200 | [diff] [blame] | 68 | obj-$(CONFIG_DM_PMIC) += pmic.o |
| 69 | obj-$(CONFIG_DM_REGULATOR) += regulator.o |
Thomas Chou | 7b059dc | 2015-10-30 15:35:52 +0800 | [diff] [blame] | 70 | obj-$(CONFIG_TIMER) += timer.o |
Simon Glass | 90b6fef | 2016-01-18 19:52:26 -0700 | [diff] [blame] | 71 | obj-$(CONFIG_DM_VIDEO) += video.o |
Przemyslaw Marczak | 23bc2a7 | 2015-10-27 13:08:07 +0100 | [diff] [blame] | 72 | obj-$(CONFIG_ADC) += adc.o |
Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 73 | obj-$(CONFIG_SPMI) += spmi.o |
maxims@google.com | daea6d4 | 2017-04-17 12:00:21 -0700 | [diff] [blame] | 74 | obj-$(CONFIG_WDT) += wdt.o |
Mario Six | 16f57da | 2018-08-09 14:51:20 +0200 | [diff] [blame] | 75 | obj-$(CONFIG_AXI) += axi.o |
Mario Six | a8ce0ee | 2018-07-31 14:24:14 +0200 | [diff] [blame] | 76 | obj-$(CONFIG_MISC) += misc.o |
Patrice Chotard | 70ed0ea | 2018-08-03 15:07:41 +0200 | [diff] [blame] | 77 | obj-$(CONFIG_DM_SERIAL) += serial.o |
Mario Six | dea5df7 | 2018-08-06 10:23:44 +0200 | [diff] [blame] | 78 | obj-$(CONFIG_CPU) += cpu.o |
Dave Gerlach | 75dbdfc | 2020-07-15 23:39:58 -0500 | [diff] [blame] | 79 | obj-$(CONFIG_SOC_DEVICE) += soc.o |
Simon Glass | ab6dbe6 | 2018-12-10 10:37:47 -0700 | [diff] [blame] | 80 | obj-$(CONFIG_SOUND) += sound.o |
Jens Wiklander | a10b983 | 2018-09-25 16:40:19 +0200 | [diff] [blame] | 81 | obj-$(CONFIG_TEE) += tee.o |
Bin Meng | 1bb290d | 2018-10-15 02:21:26 -0700 | [diff] [blame] | 82 | obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o |
Grygorii Strashko | 19ebf0b | 2018-11-28 19:17:51 +0100 | [diff] [blame] | 83 | obj-$(CONFIG_DMA) += dma.o |
Alex Marginean | 0daa53a | 2019-06-03 19:12:28 +0300 | [diff] [blame] | 84 | obj-$(CONFIG_DM_MDIO) += mdio.o |
Alex Marginean | 0649be5 | 2019-07-12 10:13:53 +0300 | [diff] [blame] | 85 | obj-$(CONFIG_DM_MDIO_MUX) += mdio_mux.o |
Sughosh Ganu | 912893d | 2019-12-28 23:58:33 +0530 | [diff] [blame] | 86 | obj-$(CONFIG_DM_RNG) += rng.o |
Sean Anderson | 6e887ee | 2020-06-24 06:41:09 -0400 | [diff] [blame] | 87 | obj-$(CONFIG_CLK_K210_SET_RATE) += k210_pll.o |
Sean Anderson | b786054 | 2020-06-24 06:41:12 -0400 | [diff] [blame] | 88 | obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o |
Sean Anderson | 0c1f6bf | 2020-06-24 06:41:14 -0400 | [diff] [blame] | 89 | obj-$(CONFIG_RESET_SYSCON) += syscon-reset.o |
Etienne Carriere | 02fd126 | 2020-09-09 18:44:00 +0200 | [diff] [blame] | 90 | obj-$(CONFIG_SCMI_FIRMWARE) += scmi.o |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 91 | ifneq ($(CONFIG_PINMUX),) |
| 92 | obj-$(CONFIG_PINCONF) += pinmux.o |
| 93 | endif |
Simon Glass | 17e9c78 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 94 | endif |
Simon Glass | 8ec2933 | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 95 | endif # !SPL |