Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | da58dec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 2 | |
Philippe Reynes | 30d66db | 2020-07-24 18:19:45 +0200 | [diff] [blame] | 3 | obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/ |
Ley Foon Tan | 5c9c71b | 2019-10-11 13:48:33 +0800 | [diff] [blame] | 4 | obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 5 | obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ |
| 6 | obj-$(CONFIG_$(SPL_TPL_)DM) += core/ |
Andrew F. Davis | 2d59ec8 | 2019-01-17 13:43:03 -0600 | [diff] [blame] | 7 | obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/ |
Simon Glass | 2d424eb | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/ |
Simon Goldschmidt | a8b5031 | 2019-07-16 21:29:32 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ |
| 10 | obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/ |
| 11 | obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 12 | obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/ |
Simon Glass | 2d424eb | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 14 | obj-$(CONFIG_$(SPL_TPL_)LED) += led/ |
| 15 | obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/ |
Miquel Raynal | fb43844 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 16 | obj-y += mtd/ |
Jean-Jacques Hiblot | 0ad40b2 | 2020-10-16 16:16:30 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_$(SPL_)MULTIPLEXER) += mux/ |
Simon Glass | 2d424eb | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/ |
Sekhar Nori | d50d681 | 2018-12-06 15:40:08 +0530 | [diff] [blame] | 19 | obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/ |
| 21 | obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/ |
| 22 | obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/ |
Simon Glass | 2d424eb | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/ |
Philipp Tomsich | e9e5d9d | 2017-07-28 17:38:42 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ |
Bin Meng | 8fb49b4 | 2018-10-15 02:21:00 -0700 | [diff] [blame] | 27 | obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/ |
Lokesh Vutla | 8802741 | 2018-08-27 15:57:49 +0530 | [diff] [blame] | 28 | obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ |
Lokesh Vutla | 08c4531 | 2018-08-27 15:57:53 +0530 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ |
Simon Glass | 3a8ee3d | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 30 | obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/ |
Simon Glass | 2d424eb | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/ |
Simon Glass | 3b65ee3 | 2019-12-06 21:41:54 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += power/acpi_pmc/ |
Oleksandr Andrushchenko | 4865441 | 2020-08-06 12:42:48 +0300 | [diff] [blame] | 33 | obj-$(CONFIG_XEN) += xen/ |
Michal Simek | 29bd8ad | 2020-09-09 14:41:56 +0200 | [diff] [blame] | 34 | obj-$(CONFIG_$(SPL_)FPGA) += fpga/ |
Masahiro Yamada | 040906f | 2015-08-12 07:31:45 +0900 | [diff] [blame] | 35 | |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 36 | ifndef CONFIG_TPL_BUILD |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 37 | ifdef CONFIG_SPL_BUILD |
| 38 | |
Lukasz Majewski | afa9609 | 2018-05-02 16:10:50 +0200 | [diff] [blame] | 39 | obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/ |
Rick Chen | 31dae22 | 2019-11-14 13:52:26 +0800 | [diff] [blame] | 40 | obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/ |
Simon Glass | 5e148df | 2017-01-16 07:03:29 -0700 | [diff] [blame] | 41 | obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ |
Teddy Reed | 51c14cd | 2016-06-09 19:18:44 -0700 | [diff] [blame] | 42 | obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 43 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
Stefan Roese | 81e33f4 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 44 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
| 45 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ |
Ley Foon Tan | 5918afd | 2019-05-06 09:55:59 +0800 | [diff] [blame] | 46 | obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/ |
Peng Fan | e3963c0 | 2018-11-20 10:19:57 +0000 | [diff] [blame] | 47 | obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 48 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
| 49 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ |
Peng Fan | e13278c | 2018-07-27 10:20:37 +0800 | [diff] [blame] | 50 | obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ |
Ley Foon Tan | bfc6bae | 2018-06-14 18:45:19 +0800 | [diff] [blame] | 51 | obj-$(CONFIG_SPL_DM_RESET) += reset/ |
Vignesh Raghavendra | 74326a3 | 2019-11-15 17:00:41 +0530 | [diff] [blame] | 52 | obj-$(CONFIG_SPL_DMA) += dma/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ |
| 54 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ |
Faiz Abbas | b432b1e | 2018-02-16 21:17:44 +0530 | [diff] [blame] | 55 | obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 56 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
Jean-Jacques Hiblot | f811e97 | 2019-01-10 15:44:13 +0100 | [diff] [blame] | 57 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/ |
| 58 | obj-$(CONFIG_SPL_USB_GADGET) += usb/common/ |
| 59 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 60 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
| 61 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ |
| 62 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 63 | obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/ |
Tom Rini | 91ff686 | 2018-12-05 08:23:38 -0500 | [diff] [blame] | 64 | obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/ |
Faiz Abbas | 8502f9f | 2017-11-14 16:12:31 +0530 | [diff] [blame] | 65 | obj-$(CONFIG_SPL_THERMAL) += thermal/ |
Philipp Tomsich | 87c16d4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 66 | |
| 67 | endif |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 68 | endif |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 69 | |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 70 | ifdef CONFIG_TPL_BUILD |
| 71 | |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 72 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
Simon Glass | 76f1f38 | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 73 | |
| 74 | endif |
| 75 | |
| 76 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 77 | |
Przemyslaw Marczak | 5decbf5 | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 78 | obj-y += adc/ |
Simon Glass | f2105c6 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 79 | obj-y += ata/ |
Masahiro Yamada | e2bb0be | 2020-07-09 15:08:18 +0900 | [diff] [blame] | 80 | obj-y += bus/ |
Masahiro Yamada | f494e0a | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 81 | obj-$(CONFIG_DM_DEMO) += demo/ |
Masahiro Yamada | 7b6af41 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 82 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 83 | obj-y += block/ |
| 84 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ |
Dinh Nguyen | 84b124d | 2019-04-23 16:55:03 -0500 | [diff] [blame] | 85 | obj-y += cache/ |
Simon Glass | 11f4dc1 | 2015-04-28 20:25:09 -0600 | [diff] [blame] | 86 | obj-$(CONFIG_CPU) += cpu/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 87 | obj-y += crypto/ |
Alex Kiernan | d2df2ab | 2018-05-29 15:30:41 +0000 | [diff] [blame] | 88 | obj-$(CONFIG_FASTBOOT) += fastboot/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 89 | obj-y += misc/ |
Masahiro Yamada | 792f005 | 2017-05-09 20:31:40 +0900 | [diff] [blame] | 90 | obj-$(CONFIG_MMC) += mmc/ |
Zhikang Zhang | 982388e | 2017-08-03 02:30:57 -0700 | [diff] [blame] | 91 | obj-$(CONFIG_NVME) += nvme/ |
Ramon Fried | 914026d | 2019-04-27 11:15:21 +0300 | [diff] [blame] | 92 | obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/ |
Simon Glass | c882163 | 2019-02-16 20:24:49 -0700 | [diff] [blame] | 93 | obj-y += dfu/ |
| 94 | obj-$(CONFIG_PCH) += pch/ |
Jagan Teki | 6768594 | 2018-05-07 13:03:26 +0530 | [diff] [blame] | 95 | obj-y += phy/allwinner/ |
Stefan Roese | 3335786 | 2016-05-23 11:12:05 +0200 | [diff] [blame] | 96 | obj-y += phy/marvell/ |
Jagan Teki | ac97a9e | 2020-05-26 11:33:44 +0800 | [diff] [blame] | 97 | obj-y += phy/rockchip/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 98 | obj-y += rtc/ |
Simon Glass | 0fcd48f | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 99 | obj-y += scsi/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 100 | obj-y += sound/ |
Mateusz Kulikowski | 04868b4 | 2016-03-31 23:12:27 +0200 | [diff] [blame] | 101 | obj-y += spmi/ |
Masahiro Yamada | 9c3f0bc | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 102 | obj-y += video/ |
| 103 | obj-y += watchdog/ |
Masahiro Yamada | 4c76b55 | 2013-11-11 14:35:57 +0900 | [diff] [blame] | 104 | obj-$(CONFIG_QE) += qe/ |
Zhao Qiang | 93d3320 | 2014-09-25 13:52:25 +0800 | [diff] [blame] | 105 | obj-$(CONFIG_U_QE) += qe/ |
Stephen Warren | 6238935 | 2016-05-13 15:50:29 -0600 | [diff] [blame] | 106 | obj-y += mailbox/ |
Khoronzhuk, Ivan | 909ea9a | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 107 | obj-y += memory/ |
Miquel Raynal | fb43844 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 108 | obj-y += mtd/ |
Heiko Schocher | b2f97cf | 2014-07-18 06:07:19 +0200 | [diff] [blame] | 109 | obj-y += pwm/ |
Stephen Warren | 89c1e2d | 2016-06-17 09:43:58 -0600 | [diff] [blame] | 110 | obj-y += reset/ |
Masahiro Yamada | f494e0a | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 111 | obj-y += input/ |
Khoronzhuk, Ivan | a43febd | 2014-10-22 17:18:21 +0300 | [diff] [blame] | 112 | # SOC specific infrastructure drivers. |
Ramon Fried | 7b384ec | 2018-07-02 02:57:55 +0300 | [diff] [blame] | 113 | obj-y += smem/ |
Ye.Li | e3568d2 | 2014-11-20 21:14:13 +0800 | [diff] [blame] | 114 | obj-y += thermal/ |
Jens Wiklander | 9ff4a31 | 2018-09-25 16:40:09 +0200 | [diff] [blame] | 115 | obj-$(CONFIG_TEE) += tee/ |
Mario Six | a63e54a | 2018-08-09 14:51:16 +0200 | [diff] [blame] | 116 | obj-y += axi/ |
Faiz Abbas | 7feafb0 | 2019-10-15 18:24:36 +0530 | [diff] [blame] | 117 | obj-y += ufs/ |
Maxime Ripard | d3e19cf | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 118 | obj-$(CONFIG_W1) += w1/ |
Maxime Ripard | c924ee2 | 2018-09-18 10:35:27 +0300 | [diff] [blame] | 119 | obj-$(CONFIG_W1_EEPROM) += w1-eeprom/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 120 | |
Purna Chandra Mandal | 9ffa7a3 | 2016-01-28 15:30:15 +0530 | [diff] [blame] | 121 | obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ |
Benjamin Gaignard | 7f84fc6 | 2018-11-27 13:49:50 +0100 | [diff] [blame] | 122 | obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/ |
Sughosh Ganu | a248768 | 2019-12-28 23:58:27 +0530 | [diff] [blame] | 123 | obj-$(CONFIG_DM_RNG) += rng/ |
Masahiro Yamada | d6c2ac5 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 124 | endif |
Vignesh Raghavendra | 28ff144 | 2020-02-04 11:09:48 +0530 | [diff] [blame] | 125 | |
| 126 | obj-y += soc/ |