blob: 5511a85700c0c24ff95e7cab93523636b22bd24c [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 Glassc267cf72014-02-26 15:59:22 -07005obj-$(CONFIG_CMD_DM) += cmd_dm.o
Joe Hershberger9dc1d712015-05-20 14:27:29 -05006obj-$(CONFIG_UT_DM) += bus.o
7obj-$(CONFIG_UT_DM) += test-driver.o
8obj-$(CONFIG_UT_DM) += test-fdt.o
9obj-$(CONFIG_UT_DM) += test-main.o
10obj-$(CONFIG_UT_DM) += test-uclass.o
Simon Glassb2c1cac2014-02-26 15:59:21 -070011
12# Tests for particular subsystems - when enabling driver model for a new
13# subsystem you must add sandbox tests here.
Joe Hershberger9dc1d712015-05-20 14:27:29 -050014obj-$(CONFIG_UT_DM) += core.o
Simon Glass17e9c782014-06-11 23:29:50 -060015ifneq ($(CONFIG_SANDBOX),)
Simon Glass89c1dcd2016-03-13 08:22:36 -060016obj-$(CONFIG_BLK) += blk.o
Simon Glass8cc4d822015-07-06 12:54:24 -060017obj-$(CONFIG_CLK) += clk.o
Joe Hershberger4c197242015-03-22 17:09:15 -050018obj-$(CONFIG_DM_ETH) += eth.o
Simon Glassb2c1cac2014-02-26 15:59:21 -070019obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glass7df766e2014-12-10 08:55:55 -070020obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glassd783eb32015-07-06 12:54:34 -060021obj-$(CONFIG_LED) += led.o
Stephen Warren62f2c902016-05-16 17:41:37 -060022obj-$(CONFIG_DM_MAILBOX) += mailbox.o
Simon Glassd3e58e42015-07-06 12:54:32 -060023obj-$(CONFIG_DM_MMC) += mmc.o
Masahiro Yamadab4f2dda2018-04-27 01:02:02 +090024obj-y += ofnode.o
Simon Glass3a6eae62015-03-05 12:25:34 -070025obj-$(CONFIG_DM_PCI) += pci.o
Jean-Jacques Hiblot7e9db022017-04-24 11:51:28 +020026obj-$(CONFIG_PHY) += phy.o
Stephen Warren92c67fa2016-07-13 13:45:31 -060027obj-$(CONFIG_POWER_DOMAIN) += power-domain.o
Simon Glasse62f4be2017-04-16 21:01:11 -060028obj-$(CONFIG_DM_PWM) += pwm.o
Simon Glass3d355e62015-07-06 12:54:31 -060029obj-$(CONFIG_RAM) += ram.o
Simon Glass265142a2015-07-06 12:54:39 -060030obj-y += regmap.o
Nishanth Menonaab9a932015-09-17 15:42:42 -050031obj-$(CONFIG_REMOTEPROC) += remoteproc.o
Stephen Warren6488e642016-06-17 09:43:59 -060032obj-$(CONFIG_DM_RESET) += reset.o
Stephen Warren859f2562016-05-12 12:03:35 -060033obj-$(CONFIG_SYSRESET) += sysreset.o
Simon Glassc83c4b92015-04-20 12:37:31 -060034obj-$(CONFIG_DM_RTC) += rtc.o
Simon Glass3142b5f2016-02-24 09:14:57 -070035obj-$(CONFIG_DM_SPI_FLASH) += sf.o
36obj-$(CONFIG_DM_SPI) += spi.o
Simon Glasscd556522015-07-06 12:54:35 -060037obj-y += syscon.o
Simon Glass31680482015-03-25 12:23:05 -060038obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczakdca94502015-05-13 13:38:33 +020039obj-$(CONFIG_DM_PMIC) += pmic.o
40obj-$(CONFIG_DM_REGULATOR) += regulator.o
Thomas Chou7b059dc2015-10-30 15:35:52 +080041obj-$(CONFIG_TIMER) += timer.o
Simon Glass90b6fef2016-01-18 19:52:26 -070042obj-$(CONFIG_DM_VIDEO) += video.o
Przemyslaw Marczak23bc2a72015-10-27 13:08:07 +010043obj-$(CONFIG_ADC) += adc.o
Mateusz Kulikowskic7e4fbb2016-03-31 23:12:28 +020044obj-$(CONFIG_SPMI) += spmi.o
maxims@google.comdaea6d42017-04-17 12:00:21 -070045obj-$(CONFIG_WDT) += wdt.o
Simon Glass17e9c782014-06-11 23:29:50 -060046endif