blob: 7dc80be25e366c820d9866e88ad5f5ec4f5cd940 [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) += bus.o
6obj-$(CONFIG_UT_DM) += test-driver.o
7obj-$(CONFIG_UT_DM) += test-fdt.o
8obj-$(CONFIG_UT_DM) += test-main.o
9obj-$(CONFIG_UT_DM) += test-uclass.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070010
11# Tests for particular subsystems - when enabling driver model for a new
12# subsystem you must add sandbox tests here.
Joe Hershberger40441e02015-05-20 14:27:29 -050013obj-$(CONFIG_UT_DM) += core.o
Simon Glassb6a49a72014-06-11 23:29:50 -060014ifneq ($(CONFIG_SANDBOX),)
Simon Glassf2b25c92018-12-10 10:37:47 -070015obj-$(CONFIG_SOUND) += audio.o
Simon Glasse4fb8632016-03-13 08:22:36 -060016obj-$(CONFIG_BLK) += blk.o
Mario Sixe6fd0182018-07-31 11:44:13 +020017obj-$(CONFIG_BOARD) += board.o
Simon Glass6a1c7ce2015-07-06 12:54:24 -060018obj-$(CONFIG_CLK) += clk.o
Joe Hershbergerbfacad72015-03-22 17:09:15 -050019obj-$(CONFIG_DM_ETH) += eth.o
Rajan Vaja31b82172018-09-19 03:43:46 -070020obj-$(CONFIG_FIRMWARE) += firmware.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070021obj-$(CONFIG_DM_GPIO) += gpio.o
Benjamin Gaignard7f84fc62018-11-27 13:49:50 +010022obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock.o
Simon Glassecc2ed52014-12-10 08:55:55 -070023obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassf2b25c92018-12-10 10:37:47 -070024obj-$(CONFIG_SOUND) += i2s.o
Simon Glass3c43fba2015-07-06 12:54:34 -060025obj-$(CONFIG_LED) += led.o
Stephen Warren8961b522016-05-16 17:41:37 -060026obj-$(CONFIG_DM_MAILBOX) += mailbox.o
Simon Glass8e6cc462015-07-06 12:54:32 -060027obj-$(CONFIG_DM_MMC) += mmc.o
Masahiro Yamada04ca8712018-04-27 01:02:02 +090028obj-y += ofnode.o
Mario Six4eea5312018-09-27 09:19:31 +020029obj-$(CONFIG_OSD) += osd.o
Simon Glass5d9a88f2018-10-01 12:22:40 -060030obj-$(CONFIG_DM_VIDEO) += panel.o
Simon Glassd3b7ff12015-03-05 12:25:34 -070031obj-$(CONFIG_DM_PCI) += pci.o
Jean-Jacques Hiblot86322f52017-04-24 11:51:28 +020032obj-$(CONFIG_PHY) += phy.o
Stephen Warren61f5ddc2016-07-13 13:45:31 -060033obj-$(CONFIG_POWER_DOMAIN) += power-domain.o
Simon Glass43b41562017-04-16 21:01:11 -060034obj-$(CONFIG_DM_PWM) += pwm.o
Simon Glass64ce0ca2015-07-06 12:54:31 -060035obj-$(CONFIG_RAM) += ram.o
Simon Glass86075ba2015-07-06 12:54:39 -060036obj-y += regmap.o
Nishanth Menonbfaa2d92015-09-17 15:42:42 -050037obj-$(CONFIG_REMOTEPROC) += remoteproc.o
Stephen Warren4581b712016-06-17 09:43:59 -060038obj-$(CONFIG_DM_RESET) += reset.o
Stephen Warren11636252016-05-12 12:03:35 -060039obj-$(CONFIG_SYSRESET) += sysreset.o
Simon Glass47725112015-04-20 12:37:31 -060040obj-$(CONFIG_DM_RTC) += rtc.o
Simon Glassf8025b52016-02-24 09:14:57 -070041obj-$(CONFIG_DM_SPI_FLASH) += sf.o
Ramon Fried20e77052018-07-02 02:58:00 +030042obj-$(CONFIG_SMEM) += smem.o
Simon Glassf8025b52016-02-24 09:14:57 -070043obj-$(CONFIG_DM_SPI) += spi.o
Simon Glass04035fd2015-07-06 12:54:35 -060044obj-y += syscon.o
Simon Glasse00cb222015-03-25 12:23:05 -060045obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczake8f339e2015-05-13 13:38:33 +020046obj-$(CONFIG_DM_PMIC) += pmic.o
47obj-$(CONFIG_DM_REGULATOR) += regulator.o
Thomas Chou9961a0b2015-10-30 15:35:52 +080048obj-$(CONFIG_TIMER) += timer.o
Simon Glass3c97c4f2016-01-18 19:52:26 -070049obj-$(CONFIG_DM_VIDEO) += video.o
Przemyslaw Marczakc48cb7e2015-10-27 13:08:07 +010050obj-$(CONFIG_ADC) += adc.o
Mateusz Kulikowskid33776e2016-03-31 23:12:28 +020051obj-$(CONFIG_SPMI) += spmi.o
maxims@google.com0753bc22017-04-17 12:00:21 -070052obj-$(CONFIG_WDT) += wdt.o
Mario Six87940ec2018-08-09 14:51:20 +020053obj-$(CONFIG_AXI) += axi.o
Mario Six004e67c2018-07-31 14:24:14 +020054obj-$(CONFIG_MISC) += misc.o
Patrice Chotardd7c09682018-08-03 15:07:41 +020055obj-$(CONFIG_DM_SERIAL) += serial.o
Mario Sixfa44b532018-08-06 10:23:44 +020056obj-$(CONFIG_CPU) += cpu.o
Simon Glassf2b25c92018-12-10 10:37:47 -070057obj-$(CONFIG_SOUND) += sound.o
Jens Wiklandera6ab4242018-09-25 16:40:19 +020058obj-$(CONFIG_TEE) += tee.o
Bin Meng4f89d492018-10-15 02:21:26 -070059obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o
Grygorii Strashkob3309912018-11-28 19:17:51 +010060obj-$(CONFIG_DMA) += dma.o
Simon Glassb6a49a72014-06-11 23:29:50 -060061endif