Tom Rini | da58dec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 1 | # |
| 2 | # SPDX-License-Identifier: GPL-2.0+ |
| 3 | # |
| 4 | |
Simon Glass | 5a6f06f | 2017-04-02 09:50:31 -0600 | [diff] [blame] | 5 | obj-$(CONFIG_$(SPL_TPL_)DM) += core/ |
Masahiro Yamada | 5525958 | 2015-08-12 07:31:47 +0900 | [diff] [blame] | 6 | obj-$(CONFIG_$(SPL_)CLK) += clk/ |
Masahiro Yamada | e00e8b3 | 2015-08-12 07:31:51 +0900 | [diff] [blame] | 7 | obj-$(CONFIG_$(SPL_)LED) += led/ |
Jean-Jacques Hiblot | 72e5016 | 2017-04-24 11:51:27 +0200 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_)PHY) += phy/ |
Masahiro Yamada | d90a5a3 | 2015-08-27 12:44:29 +0900 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/ |
Masahiro Yamada | 26d5fa8 | 2015-08-12 07:31:49 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_$(SPL_)RAM) += ram/ |
Masahiro Yamada | 040906f | 2015-08-12 07:31:45 +0900 | [diff] [blame] | 11 | |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 12 | ifdef CONFIG_SPL_BUILD |
| 13 | |
Simon Glass | 5e148df | 2017-01-16 07:03:29 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ |
Teddy Reed | 51c14cd | 2016-06-09 19:18:44 -0700 | [diff] [blame] | 15 | obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/ |
| 17 | obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/ |
| 18 | obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/ |
| 19 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 20 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
| 21 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/ |
| 23 | obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 25 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
| 26 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 28 | obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ |
| 29 | obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ |
Ladislav Michl | 05fc5ef | 2016-07-12 20:28:09 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/ |
Thomas Gleixner | 6f4e7d3 | 2016-07-12 20:28:12 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ |
| 34 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ |
| 35 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ |
| 36 | obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ |
Simon Glass | 2446b6b | 2017-01-16 07:03:30 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ |
Simon Glass | bbe41ab | 2017-01-16 07:03:33 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/ |
Simon Glass | 30bf8a0 | 2017-01-16 07:03:31 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ |
Simon Glass | 4a6c81f | 2017-01-16 07:03:32 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 41 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
Stefan Agner | e94793c | 2016-11-21 10:58:53 -0800 | [diff] [blame] | 42 | obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/ |
| 43 | obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/ |
Stefan Agner | 5991703 | 2016-11-21 10:58:52 -0800 | [diff] [blame] | 44 | obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
| 46 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ |
| 47 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ |
| 48 | obj-$(CONFIG_SPL_SATA_SUPPORT) += block/ |
Simon Glass | 57ebf67 | 2016-05-01 11:36:13 -0600 | [diff] [blame] | 49 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/ |
Simon Glass | 0776167e | 2016-05-01 13:52:28 -0600 | [diff] [blame] | 50 | obj-$(CONFIG_SPL_MMC_SUPPORT) += block/ |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 51 | endif |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 52 | |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 53 | ifdef CONFIG_TPL_BUILD |
| 54 | |
| 55 | obj-$(CONFIG_TPL_I2C_SUPPORT) += i2c/ |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 56 | obj-$(CONFIG_TPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 57 | obj-$(CONFIG_TPL_MMC_SUPPORT) += mmc/ |
| 58 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
| 59 | obj-$(CONFIG_TPL_NAND_SUPPORT) += mtd/nand/ |
| 60 | obj-$(CONFIG_TPL_SERIAL_SUPPORT) += serial/ |
| 61 | obj-$(CONFIG_TPL_SPI_FLASH_SUPPORT) += mtd/spi/ |
| 62 | obj-$(CONFIG_TPL_SPI_SUPPORT) += spi/ |
| 63 | |
| 64 | endif |
| 65 | |
| 66 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 67 | |
Przemyslaw Marczak | 5decbf5 | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 68 | obj-y += adc/ |
Masahiro Yamada | f494e0a | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 69 | obj-$(CONFIG_DM_DEMO) += demo/ |
Masahiro Yamada | 7b6af41 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 70 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 71 | obj-y += block/ |
| 72 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ |
Simon Glass | 11f4dc1 | 2015-04-28 20:25:09 -0600 | [diff] [blame] | 73 | obj-$(CONFIG_CPU) += cpu/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 74 | obj-y += crypto/ |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 75 | obj-y += firmware/ |
Masahiro Yamada | 7b6af41 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 76 | obj-$(CONFIG_FPGA) += fpga/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 77 | obj-y += hwmon/ |
| 78 | obj-y += misc/ |
Masahiro Yamada | 792f005 | 2017-05-09 20:31:40 +0900 | [diff] [blame^] | 79 | obj-$(CONFIG_MMC) += mmc/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 80 | obj-y += pcmcia/ |
| 81 | obj-y += dfu/ |
Simon Glass | ca831f4 | 2016-01-18 20:19:17 -0700 | [diff] [blame] | 82 | obj-$(CONFIG_X86) += pch/ |
Stefan Roese | 3335786 | 2016-05-23 11:12:05 +0200 | [diff] [blame] | 83 | obj-y += phy/marvell/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 84 | obj-y += rtc/ |
| 85 | obj-y += sound/ |
Mateusz Kulikowski | 04868b4 | 2016-03-31 23:12:27 +0200 | [diff] [blame] | 86 | obj-y += spmi/ |
Max Filippov | b25732c | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 87 | obj-y += sysreset/ |
Thomas Chou | c8a7ba9 | 2015-10-09 13:46:34 +0800 | [diff] [blame] | 88 | obj-y += timer/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 89 | obj-y += tpm/ |
| 90 | obj-y += twserial/ |
| 91 | obj-y += video/ |
| 92 | obj-y += watchdog/ |
Masahiro Yamada | 4c76b55 | 2013-11-11 14:35:57 +0900 | [diff] [blame] | 93 | obj-$(CONFIG_QE) += qe/ |
Zhao Qiang | 93d3320 | 2014-09-25 13:52:25 +0800 | [diff] [blame] | 94 | obj-$(CONFIG_U_QE) += qe/ |
Stephen Warren | 6238935 | 2016-05-13 15:50:29 -0600 | [diff] [blame] | 95 | obj-y += mailbox/ |
Khoronzhuk, Ivan | 909ea9a | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 96 | obj-y += memory/ |
Heiko Schocher | b2f97cf | 2014-07-18 06:07:19 +0200 | [diff] [blame] | 97 | obj-y += pwm/ |
Stephen Warren | 89c1e2d | 2016-06-17 09:43:58 -0600 | [diff] [blame] | 98 | obj-y += reset/ |
Masahiro Yamada | f494e0a | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 99 | obj-y += input/ |
Khoronzhuk, Ivan | a43febd | 2014-10-22 17:18:21 +0300 | [diff] [blame] | 100 | # SOC specific infrastructure drivers. |
| 101 | obj-y += soc/ |
Nishanth Menon | ddf56bc | 2015-09-17 15:42:39 -0500 | [diff] [blame] | 102 | obj-$(CONFIG_REMOTEPROC) += remoteproc/ |
Ye.Li | e3568d2 | 2014-11-20 21:14:13 +0800 | [diff] [blame] | 103 | obj-y += thermal/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 104 | |
Purna Chandra Mandal | 9ffa7a3 | 2016-01-28 15:30:15 +0530 | [diff] [blame] | 105 | obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 106 | endif |