Tom Rini | 0cab3ec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 1 | # |
| 2 | # SPDX-License-Identifier: GPL-2.0+ |
| 3 | # |
| 4 | |
Masahiro Yamada | 95fc4ff | 2015-08-12 07:31:45 +0900 | [diff] [blame] | 5 | obj-$(CONFIG_$(SPL_)DM) += core/ |
Masahiro Yamada | 200812b | 2015-08-12 07:31:47 +0900 | [diff] [blame] | 6 | obj-$(CONFIG_$(SPL_)CLK) += clk/ |
Masahiro Yamada | 8f4338a | 2015-08-12 07:31:51 +0900 | [diff] [blame] | 7 | obj-$(CONFIG_$(SPL_)LED) += led/ |
Masahiro Yamada | f8efa63 | 2015-08-27 12:44:29 +0900 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/ |
Masahiro Yamada | 8c0f0db | 2015-08-12 07:31:49 +0900 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_)RAM) += ram/ |
Masahiro Yamada | 95fc4ff | 2015-08-12 07:31:45 +0900 | [diff] [blame] | 10 | |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
| 12 | |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 13 | obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/ |
| 14 | obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/ |
| 15 | obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/ |
| 16 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame^] | 17 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
| 18 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/ |
| 20 | obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/ |
| 21 | obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/ |
| 22 | obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
| 24 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ |
| 25 | obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ |
| 26 | obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/ |
| 27 | obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/ |
| 28 | obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ |
| 29 | obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ |
| 30 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ |
| 31 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ |
| 32 | obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
| 34 | obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/ |
| 35 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
| 36 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ |
| 37 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ |
| 38 | obj-$(CONFIG_SPL_SATA_SUPPORT) += block/ |
| 39 | |
| 40 | else |
| 41 | |
Przemyslaw Marczak | e0cb85b | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 42 | obj-y += adc/ |
Masahiro Yamada | 6968298 | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 43 | obj-$(CONFIG_DM_DEMO) += demo/ |
Masahiro Yamada | 6252698 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 44 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 45 | obj-y += block/ |
| 46 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ |
Simon Glass | 131a645 | 2015-04-28 20:25:09 -0600 | [diff] [blame] | 47 | obj-$(CONFIG_CPU) += cpu/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 48 | obj-y += crypto/ |
Masahiro Yamada | 6252698 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 49 | obj-$(CONFIG_FPGA) += fpga/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 50 | obj-y += hwmon/ |
| 51 | obj-y += misc/ |
| 52 | obj-y += pcmcia/ |
| 53 | obj-y += dfu/ |
| 54 | obj-y += rtc/ |
| 55 | obj-y += sound/ |
Thomas Chou | fb798b1 | 2015-10-09 13:46:34 +0800 | [diff] [blame] | 56 | obj-y += timer/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 57 | obj-y += tpm/ |
| 58 | obj-y += twserial/ |
| 59 | obj-y += video/ |
| 60 | obj-y += watchdog/ |
Masahiro Yamada | 4fb1f69 | 2013-11-11 14:35:57 +0900 | [diff] [blame] | 61 | obj-$(CONFIG_QE) += qe/ |
Zhao Qiang | 5ad9395 | 2014-09-25 13:52:25 +0800 | [diff] [blame] | 62 | obj-$(CONFIG_U_QE) += qe/ |
Khoronzhuk, Ivan | 8062b05 | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 63 | obj-y += memory/ |
Heiko Schocher | 2b38776 | 2014-07-18 06:07:19 +0200 | [diff] [blame] | 64 | obj-y += pwm/ |
Masahiro Yamada | 6968298 | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 65 | obj-y += input/ |
Khoronzhuk, Ivan | dbfecb2 | 2014-10-22 17:18:21 +0300 | [diff] [blame] | 66 | # SOC specific infrastructure drivers. |
| 67 | obj-y += soc/ |
Nishanth Menon | 08b9dc2 | 2015-09-17 15:42:39 -0500 | [diff] [blame] | 68 | obj-$(CONFIG_REMOTEPROC) += remoteproc/ |
Ye.Li | d049afa | 2014-11-20 21:14:13 +0800 | [diff] [blame] | 69 | obj-y += thermal/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 70 | |
| 71 | endif |