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 | |
Simon Glass | eca677f | 2017-01-16 07:03:29 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ |
Teddy Reed | 5021e3c | 2016-06-09 19:18:44 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/ |
| 16 | obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/ |
| 17 | obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/ |
| 18 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
| 20 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/ |
| 22 | obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
| 25 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ |
Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 26 | obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ |
| 28 | obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ |
Ladislav Michl | 4a7234b | 2016-07-12 20:28:09 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/ |
Thomas Gleixner | 820d24d | 2016-07-12 20:28:12 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 32 | obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ |
| 33 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ |
| 34 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ |
| 35 | obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ |
Simon Glass | 6569f3a | 2017-01-16 07:03:30 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ |
Simon Glass | 36258a5 | 2017-01-16 07:03:33 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/ |
Simon Glass | b69691b | 2017-01-16 07:03:31 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ |
Simon Glass | 0c1b41a | 2017-01-16 07:03:32 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 40 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
Stefan Agner | 0489c3b | 2016-11-21 10:58:53 -0800 | [diff] [blame] | 41 | obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/ |
| 42 | obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/ |
Stefan Agner | e542edd | 2016-11-21 10:58:52 -0800 | [diff] [blame] | 43 | obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 44 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
| 45 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ |
| 46 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ |
| 47 | obj-$(CONFIG_SPL_SATA_SUPPORT) += block/ |
Simon Glass | cf43778 | 2016-05-01 11:36:13 -0600 | [diff] [blame] | 48 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/ |
Simon Glass | 316185a | 2016-05-01 13:52:28 -0600 | [diff] [blame] | 49 | obj-$(CONFIG_SPL_MMC_SUPPORT) += block/ |
Simon Glass | 98b685d | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 50 | endif |
| 51 | |
| 52 | ifdef CONFIG_TPL_BUILD |
| 53 | |
| 54 | obj-$(CONFIG_TPL_I2C_SUPPORT) += i2c/ |
| 55 | obj-$(CONFIG_TPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/ |
| 56 | obj-$(CONFIG_TPL_MMC_SUPPORT) += mmc/ |
| 57 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
| 58 | obj-$(CONFIG_TPL_NAND_SUPPORT) += mtd/nand/ |
| 59 | obj-$(CONFIG_TPL_SERIAL_SUPPORT) += serial/ |
| 60 | obj-$(CONFIG_TPL_SPI_FLASH_SUPPORT) += mtd/spi/ |
| 61 | obj-$(CONFIG_TPL_SPI_SUPPORT) += spi/ |
| 62 | |
| 63 | endif |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 64 | |
Simon Glass | 98b685d | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 65 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 66 | |
Przemyslaw Marczak | e0cb85b | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 67 | obj-y += adc/ |
Masahiro Yamada | 6968298 | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 68 | obj-$(CONFIG_DM_DEMO) += demo/ |
Masahiro Yamada | 6252698 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 69 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 70 | obj-y += block/ |
| 71 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ |
Simon Glass | 131a645 | 2015-04-28 20:25:09 -0600 | [diff] [blame] | 72 | obj-$(CONFIG_CPU) += cpu/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 73 | obj-y += crypto/ |
Masahiro Yamada | 6252698 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 74 | obj-$(CONFIG_FPGA) += fpga/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 75 | obj-y += hwmon/ |
| 76 | obj-y += misc/ |
| 77 | obj-y += pcmcia/ |
| 78 | obj-y += dfu/ |
Simon Glass | 68a2423 | 2016-01-18 20:19:17 -0700 | [diff] [blame] | 79 | obj-$(CONFIG_X86) += pch/ |
Stefan Roese | 8f64e26 | 2016-05-23 11:12:05 +0200 | [diff] [blame] | 80 | obj-y += phy/marvell/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 81 | obj-y += rtc/ |
| 82 | obj-y += sound/ |
Mateusz Kulikowski | 946797f | 2016-03-31 23:12:27 +0200 | [diff] [blame] | 83 | obj-y += spmi/ |
Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 84 | obj-y += sysreset/ |
Thomas Chou | fb798b1 | 2015-10-09 13:46:34 +0800 | [diff] [blame] | 85 | obj-y += timer/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 86 | obj-y += tpm/ |
| 87 | obj-y += twserial/ |
| 88 | obj-y += video/ |
| 89 | obj-y += watchdog/ |
Masahiro Yamada | 4fb1f69 | 2013-11-11 14:35:57 +0900 | [diff] [blame] | 90 | obj-$(CONFIG_QE) += qe/ |
Zhao Qiang | 5ad9395 | 2014-09-25 13:52:25 +0800 | [diff] [blame] | 91 | obj-$(CONFIG_U_QE) += qe/ |
Stephen Warren | d010783 | 2016-05-13 15:50:29 -0600 | [diff] [blame] | 92 | obj-y += mailbox/ |
Khoronzhuk, Ivan | 8062b05 | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 93 | obj-y += memory/ |
Heiko Schocher | 2b38776 | 2014-07-18 06:07:19 +0200 | [diff] [blame] | 94 | obj-y += pwm/ |
Stephen Warren | 185ad87 | 2016-06-17 09:43:58 -0600 | [diff] [blame] | 95 | obj-y += reset/ |
Masahiro Yamada | 6968298 | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 96 | obj-y += input/ |
Khoronzhuk, Ivan | dbfecb2 | 2014-10-22 17:18:21 +0300 | [diff] [blame] | 97 | # SOC specific infrastructure drivers. |
| 98 | obj-y += soc/ |
Nishanth Menon | 08b9dc2 | 2015-09-17 15:42:39 -0500 | [diff] [blame] | 99 | obj-$(CONFIG_REMOTEPROC) += remoteproc/ |
Ye.Li | d049afa | 2014-11-20 21:14:13 +0800 | [diff] [blame] | 100 | obj-y += thermal/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 101 | |
Purna Chandra Mandal | e80d11f | 2016-01-28 15:30:15 +0530 | [diff] [blame] | 102 | obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 103 | endif |