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 | c267cf7 | 2014-02-26 15:59:22 -0700 | [diff] [blame] | 5 | obj-$(CONFIG_CMD_DM) += cmd_dm.o |
Joe Hershberger | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 6 | obj-$(CONFIG_UT_DM) += bus.o |
| 7 | obj-$(CONFIG_UT_DM) += test-driver.o |
| 8 | obj-$(CONFIG_UT_DM) += test-fdt.o |
| 9 | obj-$(CONFIG_UT_DM) += test-main.o |
| 10 | obj-$(CONFIG_UT_DM) += test-uclass.o |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 11 | |
| 12 | # Tests for particular subsystems - when enabling driver model for a new |
| 13 | # subsystem you must add sandbox tests here. |
Joe Hershberger | 9dc1d71 | 2015-05-20 14:27:29 -0500 | [diff] [blame] | 14 | obj-$(CONFIG_UT_DM) += core.o |
Simon Glass | 17e9c78 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 15 | ifneq ($(CONFIG_SANDBOX),) |
Simon Glass | 89c1dcd | 2016-03-13 08:22:36 -0600 | [diff] [blame] | 16 | obj-$(CONFIG_BLK) += blk.o |
Mario Six | ab664ff | 2018-07-31 11:44:13 +0200 | [diff] [blame^] | 17 | obj-$(CONFIG_BOARD) += board.o |
Simon Glass | 8cc4d82 | 2015-07-06 12:54:24 -0600 | [diff] [blame] | 18 | obj-$(CONFIG_CLK) += clk.o |
Joe Hershberger | 4c19724 | 2015-03-22 17:09:15 -0500 | [diff] [blame] | 19 | obj-$(CONFIG_DM_ETH) += eth.o |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_DM_GPIO) += gpio.o |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_DM_I2C) += i2c.o |
Simon Glass | d783eb3 | 2015-07-06 12:54:34 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_LED) += led.o |
Stephen Warren | 62f2c90 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_DM_MAILBOX) += mailbox.o |
Simon Glass | d3e58e4 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_DM_MMC) += mmc.o |
Masahiro Yamada | b4f2dda | 2018-04-27 01:02:02 +0900 | [diff] [blame] | 25 | obj-y += ofnode.o |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_DM_PCI) += pci.o |
Jean-Jacques Hiblot | 7e9db02 | 2017-04-24 11:51:28 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_PHY) += phy.o |
Stephen Warren | 92c67fa | 2016-07-13 13:45:31 -0600 | [diff] [blame] | 28 | obj-$(CONFIG_POWER_DOMAIN) += power-domain.o |
Simon Glass | e62f4be | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_DM_PWM) += pwm.o |
Simon Glass | 3d355e6 | 2015-07-06 12:54:31 -0600 | [diff] [blame] | 30 | obj-$(CONFIG_RAM) += ram.o |
Simon Glass | 265142a | 2015-07-06 12:54:39 -0600 | [diff] [blame] | 31 | obj-y += regmap.o |
Nishanth Menon | aab9a93 | 2015-09-17 15:42:42 -0500 | [diff] [blame] | 32 | obj-$(CONFIG_REMOTEPROC) += remoteproc.o |
Stephen Warren | 6488e64 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 33 | obj-$(CONFIG_DM_RESET) += reset.o |
Stephen Warren | 859f256 | 2016-05-12 12:03:35 -0600 | [diff] [blame] | 34 | obj-$(CONFIG_SYSRESET) += sysreset.o |
Simon Glass | c83c4b9 | 2015-04-20 12:37:31 -0600 | [diff] [blame] | 35 | obj-$(CONFIG_DM_RTC) += rtc.o |
Simon Glass | 3142b5f | 2016-02-24 09:14:57 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_DM_SPI_FLASH) += sf.o |
Ramon Fried | e8826f5 | 2018-07-02 02:58:00 +0300 | [diff] [blame] | 37 | obj-$(CONFIG_SMEM) += smem.o |
Simon Glass | 3142b5f | 2016-02-24 09:14:57 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_DM_SPI) += spi.o |
Simon Glass | cd55652 | 2015-07-06 12:54:35 -0600 | [diff] [blame] | 39 | obj-y += syscon.o |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 40 | obj-$(CONFIG_DM_USB) += usb.o |
Przemyslaw Marczak | dca9450 | 2015-05-13 13:38:33 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_DM_PMIC) += pmic.o |
| 42 | obj-$(CONFIG_DM_REGULATOR) += regulator.o |
Thomas Chou | 7b059dc | 2015-10-30 15:35:52 +0800 | [diff] [blame] | 43 | obj-$(CONFIG_TIMER) += timer.o |
Simon Glass | 90b6fef | 2016-01-18 19:52:26 -0700 | [diff] [blame] | 44 | obj-$(CONFIG_DM_VIDEO) += video.o |
Przemyslaw Marczak | 23bc2a7 | 2015-10-27 13:08:07 +0100 | [diff] [blame] | 45 | obj-$(CONFIG_ADC) += adc.o |
Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 46 | obj-$(CONFIG_SPMI) += spmi.o |
maxims@google.com | daea6d4 | 2017-04-17 12:00:21 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_WDT) += wdt.o |
Mario Six | 16f57da | 2018-08-09 14:51:20 +0200 | [diff] [blame] | 48 | obj-$(CONFIG_AXI) += axi.o |
Mario Six | a8ce0ee | 2018-07-31 14:24:14 +0200 | [diff] [blame] | 49 | obj-$(CONFIG_MISC) += misc.o |
Patrice Chotard | 70ed0ea | 2018-08-03 15:07:41 +0200 | [diff] [blame] | 50 | obj-$(CONFIG_DM_SERIAL) += serial.o |
Mario Six | dea5df7 | 2018-08-06 10:23:44 +0200 | [diff] [blame] | 51 | obj-$(CONFIG_CPU) += cpu.o |
Simon Glass | 17e9c78 | 2014-06-11 23:29:50 -0600 | [diff] [blame] | 52 | endif |