blob: e956915bc3d287efb15fecd30ab025ac4e1fd6ee [file] [log] [blame]
Simon Glass2e7d35d2014-02-26 15:59:21 -07001#
2# Copyright (c) 2013 Google, Inc
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
Simon Glass06811952014-02-26 15:59:22 -07007obj-$(CONFIG_CMD_DM) += cmd_dm.o
Joe Hershberger40441e02015-05-20 14:27:29 -05008obj-$(CONFIG_UT_DM) += bus.o
9obj-$(CONFIG_UT_DM) += test-driver.o
10obj-$(CONFIG_UT_DM) += test-fdt.o
11obj-$(CONFIG_UT_DM) += test-main.o
12obj-$(CONFIG_UT_DM) += test-uclass.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070013
14# Tests for particular subsystems - when enabling driver model for a new
15# subsystem you must add sandbox tests here.
Joe Hershberger40441e02015-05-20 14:27:29 -050016obj-$(CONFIG_UT_DM) += core.o
Simon Glassb6a49a72014-06-11 23:29:50 -060017ifneq ($(CONFIG_SANDBOX),)
Simon Glasse4fb8632016-03-13 08:22:36 -060018obj-$(CONFIG_BLK) += blk.o
Simon Glass6a1c7ce2015-07-06 12:54:24 -060019obj-$(CONFIG_CLK) += clk.o
Joe Hershbergerbfacad72015-03-22 17:09:15 -050020obj-$(CONFIG_DM_ETH) += eth.o
Simon Glass2e7d35d2014-02-26 15:59:21 -070021obj-$(CONFIG_DM_GPIO) += gpio.o
Simon Glassecc2ed52014-12-10 08:55:55 -070022obj-$(CONFIG_DM_I2C) += i2c.o
Simon Glass3c43fba2015-07-06 12:54:34 -060023obj-$(CONFIG_LED) += led.o
Stephen Warren8961b522016-05-16 17:41:37 -060024obj-$(CONFIG_DM_MAILBOX) += mailbox.o
Simon Glass8e6cc462015-07-06 12:54:32 -060025obj-$(CONFIG_DM_MMC) += mmc.o
Simon Glassd3b7ff12015-03-05 12:25:34 -070026obj-$(CONFIG_DM_PCI) += pci.o
Stephen Warren61f5ddc2016-07-13 13:45:31 -060027obj-$(CONFIG_POWER_DOMAIN) += power-domain.o
Simon Glass43b41562017-04-16 21:01:11 -060028obj-$(CONFIG_DM_PWM) += pwm.o
Simon Glass64ce0ca2015-07-06 12:54:31 -060029obj-$(CONFIG_RAM) += ram.o
Simon Glass86075ba2015-07-06 12:54:39 -060030obj-y += regmap.o
Nishanth Menonbfaa2d92015-09-17 15:42:42 -050031obj-$(CONFIG_REMOTEPROC) += remoteproc.o
Stephen Warren4581b712016-06-17 09:43:59 -060032obj-$(CONFIG_DM_RESET) += reset.o
Stephen Warren11636252016-05-12 12:03:35 -060033obj-$(CONFIG_SYSRESET) += sysreset.o
Simon Glass47725112015-04-20 12:37:31 -060034obj-$(CONFIG_DM_RTC) += rtc.o
Simon Glassf8025b52016-02-24 09:14:57 -070035obj-$(CONFIG_DM_SPI_FLASH) += sf.o
36obj-$(CONFIG_DM_SPI) += spi.o
Simon Glass04035fd2015-07-06 12:54:35 -060037obj-y += syscon.o
Simon Glasse00cb222015-03-25 12:23:05 -060038obj-$(CONFIG_DM_USB) += usb.o
Przemyslaw Marczake8f339e2015-05-13 13:38:33 +020039obj-$(CONFIG_DM_PMIC) += pmic.o
40obj-$(CONFIG_DM_REGULATOR) += regulator.o
Thomas Chou9961a0b2015-10-30 15:35:52 +080041obj-$(CONFIG_TIMER) += timer.o
Simon Glass3c97c4f2016-01-18 19:52:26 -070042obj-$(CONFIG_DM_VIDEO) += video.o
Przemyslaw Marczakc48cb7e2015-10-27 13:08:07 +010043obj-$(CONFIG_ADC) += adc.o
Mateusz Kulikowskid33776e2016-03-31 23:12:28 +020044obj-$(CONFIG_SPMI) += spmi.o
Simon Glassb6a49a72014-06-11 23:29:50 -060045endif