Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2013 Google, Inc |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 4 | |
Simon Glass | 409f4a2 | 2021-03-07 17:34:46 -0700 | [diff] [blame] | 5 | obj-$(CONFIG_UT_DM) += test-dm.o |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 6 | |
| 7 | # Tests for particular subsystems - when enabling driver model for a new |
| 8 | # subsystem you must add sandbox tests here. |
Simon Glass | 217293e | 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 |
Simon Glass | 627988f | 2020-10-03 09:25:26 -0600 | [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 |
| 15 | obj-$(CONFIG_UT_DM) += test-uclass.o |
| 16 | |
Joe Hershberger | 40441e0 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 17 | obj-$(CONFIG_UT_DM) += core.o |
Nicolas Saenz Julienne | 283628c | 2021-01-12 13:55:23 +0100 | [diff] [blame] | 18 | obj-$(CONFIG_UT_DM) += read.o |
Nicolas Saenz Julienne | 30b20e6 | 2021-01-12 13:55:27 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_UT_DM) += phys2bus.o |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 20 | ifneq ($(CONFIG_SANDBOX),) |
Heinrich Schuchardt | ebaa3d0 | 2022-06-12 12:28:22 +0000 | [diff] [blame] | 21 | ifeq ($(CONFIG_ACPIGEN),y) |
| 22 | obj-y += acpi.o |
| 23 | obj-y += acpigen.o |
| 24 | obj-y += acpi_dp.o |
| 25 | obj-(CONFIG_DM_GPIO) += gpio.o |
| 26 | obj-y += irq.o |
| 27 | endif |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 28 | obj-$(CONFIG_ADC) += adc.o |
Simon Glass | f2b25c9 | 2018-12-10 10:37:47 -0700 | [diff] [blame] | 29 | obj-$(CONFIG_SOUND) += audio.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 30 | obj-$(CONFIG_AXI) += axi.o |
Simon Glass | e4fb863 | 2016-03-13 08:22:36 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_BLK) += blk.o |
Philippe Reynes | 1d31000 | 2020-07-24 18:19:52 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_BUTTON) += button.o |
Philipp Tomsich | 6f2d59c | 2018-12-14 21:14:29 +0100 | [diff] [blame] | 33 | obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o |
Nandor Han | f9db2f1 | 2021-06-10 16:56:44 +0300 | [diff] [blame] | 34 | obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode.o |
Lukasz Majewski | 87e460c | 2019-06-24 15:50:50 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_CLK) += clk.o clk_ccf.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 36 | obj-$(CONFIG_CPU) += cpu.o |
Simon Glass | d8e9a93 | 2021-01-16 14:52:22 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_CROS_EC) += cros_ec.o |
Alper Nebi Yasak | e712245 | 2021-05-19 19:33:31 +0300 | [diff] [blame] | 38 | obj-$(CONFIG_PWM_CROS_EC) += cros_ec_pwm.o |
Simon Glass | 092d5c2 | 2022-03-27 14:26:19 -0600 | [diff] [blame] | 39 | obj-$(CONFIG_$(SPL_TPL_)DEVRES) += devres.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 40 | obj-$(CONFIG_DMA) += dma.o |
Yannick Fertré | 23f965a | 2019-10-07 15:29:05 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi_host.o |
Claudiu Manoil | ff98da0 | 2021-03-14 20:14:57 +0800 | [diff] [blame] | 42 | obj-$(CONFIG_DM_DSA) += dsa.o |
Alexandru Gagniuc | 46a738a | 2021-07-29 11:47:19 -0500 | [diff] [blame] | 43 | obj-$(CONFIG_ECDSA_VERIFY) += ecdsa.o |
Simon Glass | 42b7f42 | 2021-12-04 08:56:31 -0700 | [diff] [blame] | 44 | obj-$(CONFIG_EFI_MEDIA_SANDBOX) += efi_media.o |
Joe Hershberger | bfacad7 | 2015-03-22 17:09:15 -0500 | [diff] [blame] | 45 | obj-$(CONFIG_DM_ETH) += eth.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 46 | ifneq ($(CONFIG_EFI_PARTITION),) |
| 47 | obj-$(CONFIG_FASTBOOT_FLASH_MMC) += fastboot.o |
| 48 | endif |
Rajan Vaja | 31b8217 | 2018-09-19 03:43:46 -0700 | [diff] [blame] | 49 | obj-$(CONFIG_FIRMWARE) += firmware.o |
Alexander Dahl | 1323d08 | 2022-09-30 14:04:30 +0200 | [diff] [blame] | 50 | obj-$(CONFIG_DM_FPGA) += fpga.o |
Benjamin Gaignard | 7f84fc6 | 2018-11-27 13:49:50 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o |
Simon Glass | ecc2ed5 | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_DM_I2C) += i2c.o |
Simon Glass | f2b25c9 | 2018-12-10 10:37:47 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_SOUND) += i2s.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 54 | obj-$(CONFIG_CLK_K210_SET_RATE) += k210_pll.o |
Mark Kettenis | fb57462 | 2021-10-23 16:58:02 +0200 | [diff] [blame] | 55 | obj-$(CONFIG_IOMMU) += iommu.o |
Simon Glass | 3c43fba | 2015-07-06 12:54:34 -0600 | [diff] [blame] | 56 | obj-$(CONFIG_LED) += led.o |
Stephen Warren | 8961b52 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 57 | obj-$(CONFIG_DM_MAILBOX) += mailbox.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 58 | obj-$(CONFIG_DM_MDIO) += mdio.o |
| 59 | obj-$(CONFIG_DM_MDIO_MUX) += mdio_mux.o |
Roger Quadros | 2c12037 | 2022-10-20 16:30:46 +0300 | [diff] [blame] | 60 | obj-$(CONFIG_MEMORY) += memory.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 61 | obj-$(CONFIG_MISC) += misc.o |
Simon Glass | 8e6cc46 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 62 | obj-$(CONFIG_DM_MMC) += mmc.o |
Pratyush Yadav | 15995ac | 2020-10-16 16:16:36 +0530 | [diff] [blame] | 63 | obj-$(CONFIG_CMD_MUX) += mux-cmd.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 64 | obj-$(CONFIG_MULTIPLEXER) += mux-emul.o |
| 65 | obj-$(CONFIG_MUX_MMIO) += mux-mmio.o |
Laurentiu Tudor | 528d6b3 | 2020-04-03 13:43:04 +0300 | [diff] [blame] | 66 | obj-y += fdtdec.o |
Simon Glass | 627988f | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 67 | obj-$(CONFIG_UT_DM) += nop.o |
Patrick Delaunay | ce891fca | 2020-01-13 11:34:56 +0100 | [diff] [blame] | 68 | obj-y += ofnode.o |
| 69 | obj-y += ofread.o |
Simon Glass | ff5fa7d | 2021-01-21 13:57:14 -0700 | [diff] [blame] | 70 | obj-y += of_extra.o |
Mario Six | 4eea531 | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 71 | obj-$(CONFIG_OSD) += osd.o |
Simon Glass | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame^] | 72 | obj-$(CONFIG_VIDEO) += panel.o |
Sean Anderson | 535e700 | 2021-04-12 18:53:07 -0400 | [diff] [blame] | 73 | obj-$(CONFIG_EFI_PARTITION) += part.o |
Simon Glass | 3232bdf | 2021-08-01 18:54:44 -0600 | [diff] [blame] | 74 | obj-$(CONFIG_PCI) += pci.o |
Simon Glass | 3e17ffb | 2019-12-06 21:41:57 -0700 | [diff] [blame] | 75 | obj-$(CONFIG_P2SB) += p2sb.o |
Ramon Fried | f2a55ac | 2019-04-27 11:15:24 +0300 | [diff] [blame] | 76 | obj-$(CONFIG_PCI_ENDPOINT) += pci_ep.o |
Simon Glass | b45c833 | 2019-02-16 20:24:50 -0700 | [diff] [blame] | 77 | obj-$(CONFIG_PCH) += pch.o |
Jean-Jacques Hiblot | 86322f5 | 2017-04-24 11:51:28 +0200 | [diff] [blame] | 78 | obj-$(CONFIG_PHY) += phy.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 79 | ifneq ($(CONFIG_PINMUX),) |
| 80 | obj-$(CONFIG_PINCONF) += pinmux.o |
| 81 | endif |
Stephen Warren | 61f5ddc | 2016-07-13 13:45:31 -0600 | [diff] [blame] | 82 | obj-$(CONFIG_POWER_DOMAIN) += power-domain.o |
Simon Glass | 3b65ee3 | 2019-12-06 21:41:54 -0700 | [diff] [blame] | 83 | obj-$(CONFIG_ACPI_PMC) += pmc.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 84 | obj-$(CONFIG_DM_PMIC) += pmic.o |
Simon Glass | 43b4156 | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 85 | obj-$(CONFIG_DM_PWM) += pwm.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 86 | obj-$(CONFIG_QFW) += qfw.o |
Simon Glass | 64ce0ca | 2015-07-06 12:54:31 -0600 | [diff] [blame] | 87 | obj-$(CONFIG_RAM) += ram.o |
Simon Glass | 86075ba | 2015-07-06 12:54:39 -0600 | [diff] [blame] | 88 | obj-y += regmap.o |
Nishanth Menon | bfaa2d9 | 2015-09-17 15:42:42 -0500 | [diff] [blame] | 89 | obj-$(CONFIG_REMOTEPROC) += remoteproc.o |
Stephen Warren | 4581b71 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 90 | obj-$(CONFIG_DM_RESET) += reset.o |
Stephen Warren | 1163625 | 2016-05-12 12:03:35 -0600 | [diff] [blame] | 91 | obj-$(CONFIG_SYSRESET) += sysreset.o |
Przemyslaw Marczak | e8f339e | 2015-05-13 13:38:33 +0200 | [diff] [blame] | 92 | obj-$(CONFIG_DM_REGULATOR) += regulator.o |
Sughosh Ganu | 4ee08eb | 2019-12-28 23:58:33 +0530 | [diff] [blame] | 93 | obj-$(CONFIG_DM_RNG) += rng.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 94 | obj-$(CONFIG_DM_RTC) += rtc.o |
| 95 | obj-$(CONFIG_SCMI_FIRMWARE) += scmi.o |
Simon Glass | 22c80d5 | 2022-09-21 16:21:47 +0200 | [diff] [blame] | 96 | obj-$(CONFIG_SCSI) += scsi.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 97 | obj-$(CONFIG_DM_SERIAL) += serial.o |
| 98 | obj-$(CONFIG_DM_SPI_FLASH) += sf.o |
Bin Meng | ea8971c | 2021-03-14 20:15:03 +0800 | [diff] [blame] | 99 | obj-$(CONFIG_SIMPLE_BUS) += simple-bus.o |
Sean Anderson | 4a3390f | 2020-06-24 06:41:12 -0400 | [diff] [blame] | 100 | obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 101 | obj-$(CONFIG_SMEM) += smem.o |
| 102 | obj-$(CONFIG_SOC_DEVICE) += soc.o |
| 103 | obj-$(CONFIG_SOUND) += sound.o |
| 104 | obj-$(CONFIG_DM_SPI) += spi.o |
| 105 | obj-$(CONFIG_SPMI) += spmi.o |
| 106 | obj-y += syscon.o |
Sean Anderson | 038b13e | 2020-06-24 06:41:14 -0400 | [diff] [blame] | 107 | obj-$(CONFIG_RESET_SYSCON) += syscon-reset.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 108 | obj-$(CONFIG_SYSINFO) += sysinfo.o |
Sean Anderson | 1cbfed8 | 2021-04-20 10:50:58 -0400 | [diff] [blame] | 109 | obj-$(CONFIG_SYSINFO_GPIO) += sysinfo-gpio.o |
AKASHI Takahiro | 8ff5022 | 2022-04-15 16:15:37 +0900 | [diff] [blame] | 110 | obj-$(CONFIG_UT_DM) += tag.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 111 | obj-$(CONFIG_TEE) += tee.o |
| 112 | obj-$(CONFIG_TIMER) += timer.o |
Simon Glass | 3bb4db4 | 2022-08-30 21:05:36 -0600 | [diff] [blame] | 113 | obj-$(CONFIG_TPM_V2) += tpm.o |
Sean Anderson | fe3a280 | 2021-04-20 11:03:12 -0400 | [diff] [blame] | 114 | obj-$(CONFIG_DM_USB) += usb.o |
Simon Glass | b86986c | 2022-10-18 07:46:31 -0600 | [diff] [blame^] | 115 | obj-$(CONFIG_VIDEO) += video.o |
Andrew Scull | 8df508f | 2022-05-16 10:41:36 +0000 | [diff] [blame] | 116 | ifeq ($(CONFIG_VIRTIO_SANDBOX),y) |
| 117 | obj-y += virtio.o |
Andrew Scull | acd3b27 | 2022-05-16 10:41:37 +0000 | [diff] [blame] | 118 | obj-$(CONFIG_VIRTIO_RNG) += virtio_device.o |
Andrew Scull | d036104 | 2022-05-16 10:41:40 +0000 | [diff] [blame] | 119 | obj-$(CONFIG_VIRTIO_RNG) += virtio_rng.o |
Andrew Scull | 8df508f | 2022-05-16 10:41:36 +0000 | [diff] [blame] | 120 | endif |
Heinrich Schuchardt | ace5bb3 | 2021-11-02 19:44:29 +0100 | [diff] [blame] | 121 | ifeq ($(CONFIG_WDT_GPIO)$(CONFIG_WDT_SANDBOX),yy) |
| 122 | obj-y += wdt.o |
| 123 | endif |
Simon Glass | b6a49a7 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 124 | endif |
Simon Glass | 627988f | 2020-10-03 09:25:26 -0600 | [diff] [blame] | 125 | endif # !SPL |