Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 0cab3ec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 2 | |
Simon Glass | 7a40983 | 2022-10-20 18:22:57 -0600 | [diff] [blame] | 3 | obj-$(CONFIG_$(SPL_TPL_)BLK) += block/ |
Simon Glass | bb83ec5 | 2021-08-08 12:20:18 -0600 | [diff] [blame] | 4 | obj-$(CONFIG_$(SPL_TPL_)BOOTCOUNT_LIMIT) += bootcount/ |
Philippe Reynes | 3483aa2 | 2020-07-24 18:19:45 +0200 | [diff] [blame] | 5 | obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/ |
Ley Foon Tan | 54914d4 | 2019-10-11 13:48:33 +0800 | [diff] [blame] | 6 | obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/ |
Philipp Tomsich | b7ac1c4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 7 | obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ |
| 8 | obj-$(CONFIG_$(SPL_TPL_)DM) += core/ |
Simon Glass | 2710f9f | 2021-08-08 12:20:22 -0600 | [diff] [blame] | 9 | obj-$(CONFIG_$(SPL_TPL_)DMA) += dma/ |
| 10 | obj-$(CONFIG_$(SPL_TPL_)DMA_LEGACY) += dma/ |
Andrew F. Davis | 159eb4b | 2019-01-17 13:43:03 -0600 | [diff] [blame] | 11 | obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/ |
Svyatoslav Ryhel | 0852386 | 2023-04-25 10:57:20 +0300 | [diff] [blame] | 12 | obj-$(CONFIG_$(SPL_TPL_)EXTCON) += extcon/ |
Simon Glass | 035939e | 2021-07-10 21:14:30 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/ |
Simon Glass | 284cb9c | 2021-07-10 21:14:31 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/ |
Simon Goldschmidt | e5f741a | 2019-07-16 21:29:32 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/ |
| 16 | obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/ |
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 17 | obj-$(CONFIG_$(SPL_TPL_)I2C) += i2c/ |
Simon Glass | 592d5b9 | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/ |
Philipp Tomsich | b7ac1c4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_$(SPL_TPL_)LED) += led/ |
Simon Glass | b58bfe0 | 2021-08-08 12:20:09 -0600 | [diff] [blame] | 20 | obj-$(CONFIG_$(SPL_TPL_)MMC) += mmc/ |
Miquel Raynal | 68f7356 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 21 | obj-y += mtd/ |
Simon Glass | 1d92624 | 2021-08-08 12:20:31 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(SPL_TPL_)ETH) += net/ |
Simon Glass | ff67f23 | 2021-08-08 12:20:10 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)PCH) += pch/ |
Sekhar Nori | 9108d92 | 2018-12-06 15:40:08 +0530 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/ |
Philipp Tomsich | b7ac1c4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/ |
| 26 | obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/ |
Simon Glass | a0e4487 | 2021-08-08 12:20:29 -0600 | [diff] [blame] | 27 | obj-$(CONFIG_$(SPL_TPL_)POWER) += power/ |
Philipp Tomsich | b7ac1c4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 28 | obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/ |
Simon Glass | 3198531 | 2021-08-08 12:20:11 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/ |
Simon Glass | f4d6039 | 2021-08-08 12:20:12 -0600 | [diff] [blame] | 30 | obj-$(CONFIG_$(SPL_TPL_)SERIAL) += serial/ |
Simon Glass | a582047 | 2021-08-08 12:20:14 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_$(SPL_TPL_)SPI) += spi/ |
Philipp Tomsich | 4fac4ea | 2017-07-28 17:38:42 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ |
Bin Meng | db7ca2e | 2018-10-15 02:21:00 -0700 | [diff] [blame] | 33 | obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/ |
Lokesh Vutla | 2aeb934 | 2018-08-27 15:57:49 +0530 | [diff] [blame] | 34 | obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ |
Lokesh Vutla | 1a6f8e0 | 2018-08-27 15:57:53 +0530 | [diff] [blame] | 35 | obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ |
Simon Glass | 458b66a | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/ |
Simon Glass | 592d5b9 | 2018-11-15 18:43:55 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/ |
Mayuresh Chitale | 1cee77e | 2023-06-03 19:32:55 +0530 | [diff] [blame] | 38 | obj-$(CONFIG_$(SPL_)NVME) += nvme/ |
Oleksandr Andrushchenko | 2280d33 | 2020-08-06 12:42:48 +0300 | [diff] [blame] | 39 | obj-$(CONFIG_XEN) += xen/ |
Michal Simek | 1aab114 | 2020-09-09 14:41:56 +0200 | [diff] [blame] | 40 | obj-$(CONFIG_$(SPL_)FPGA) += fpga/ |
Paul Barker | f36c2ff | 2022-11-14 12:42:37 +0000 | [diff] [blame] | 41 | obj-y += bus/ |
Masahiro Yamada | 95fc4ff | 2015-08-12 07:31:45 +0900 | [diff] [blame] | 42 | |
Philipp Tomsich | b7ac1c4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 43 | ifndef CONFIG_TPL_BUILD |
Simon Glass | 7eec884 | 2022-04-30 00:56:52 -0600 | [diff] [blame] | 44 | ifndef CONFIG_VPL_BUILD |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 45 | ifdef CONFIG_SPL_BUILD |
| 46 | |
Simon Glass | 2f00216 | 2021-03-15 18:11:18 +1300 | [diff] [blame] | 47 | obj-$(CONFIG_SPL_CPU) += cpu/ |
Simon Glass | a8437ce | 2021-07-10 21:14:25 -0600 | [diff] [blame] | 48 | obj-$(CONFIG_SPL_CRYPTO) += crypto/ |
Simon Glass | 6457106 | 2021-08-08 12:20:16 -0600 | [diff] [blame] | 49 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/ |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 50 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
| 51 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ |
Ley Foon Tan | 17b9ba6 | 2019-05-06 09:55:59 +0800 | [diff] [blame] | 52 | obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/ |
Peng Fan | 692f943 | 2018-11-20 10:19:57 +0000 | [diff] [blame] | 53 | obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/ |
Ye Li | 56499f6 | 2021-08-07 16:01:11 +0800 | [diff] [blame] | 54 | obj-$(CONFIG_IMX8ULP_DRAM) += ddr/imx/imx8ulp/ |
Ye Li | b2cfc42 | 2022-07-26 16:41:07 +0800 | [diff] [blame] | 55 | obj-$(CONFIG_ARCH_IMX9) += ddr/imx/imx9/ |
Ley Foon Tan | 9caf712 | 2018-06-14 18:45:19 +0800 | [diff] [blame] | 56 | obj-$(CONFIG_SPL_DM_RESET) += reset/ |
Simon Glass | 762b997 | 2021-07-10 21:14:27 -0600 | [diff] [blame] | 57 | obj-$(CONFIG_SPL_MUSB_NEW) += usb/musb-new/ |
Jean-Jacques Hiblot | 6a22852 | 2019-01-10 15:44:13 +0100 | [diff] [blame] | 58 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/ |
| 59 | obj-$(CONFIG_SPL_USB_GADGET) += usb/common/ |
| 60 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/ |
Simon Glass | 1ba1d4e | 2021-07-10 21:14:28 -0600 | [diff] [blame] | 61 | obj-$(CONFIG_SPL_WATCHDOG) += watchdog/ |
Simon Glass | 1f2440c | 2021-07-10 21:14:29 -0600 | [diff] [blame] | 62 | obj-$(CONFIG_SPL_USB_HOST) += usb/host/ |
Simon Glass | 081a45a | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 63 | obj-$(CONFIG_SPL_SATA) += ata/ scsi/ |
Simon Glass | 3bf7d7a | 2022-08-11 19:34:48 -0600 | [diff] [blame] | 64 | obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/ |
Faiz Abbas | ae1627c | 2017-11-14 16:12:31 +0530 | [diff] [blame] | 65 | obj-$(CONFIG_SPL_THERMAL) += thermal/ |
Nikhil M Jain | da0b08e | 2023-04-20 17:41:01 +0530 | [diff] [blame] | 66 | obj-$(CONFIG_SPL_VIDEO) +=video/ |
Philipp Tomsich | b7ac1c4 | 2017-07-04 11:29:55 +0200 | [diff] [blame] | 67 | |
| 68 | endif |
Simon Glass | 98b685d | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 69 | endif |
Simon Glass | 7eec884 | 2022-04-30 00:56:52 -0600 | [diff] [blame] | 70 | endif |
Simon Glass | 98b685d | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 71 | |
| 72 | ifdef CONFIG_TPL_BUILD |
| 73 | |
Simon Glass | 6457106 | 2021-08-08 12:20:16 -0600 | [diff] [blame] | 74 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/ |
Simon Glass | 98b685d | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 75 | |
| 76 | endif |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 77 | |
Simon Glass | 98b685d | 2016-09-12 23:18:25 -0600 | [diff] [blame] | 78 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 79 | |
Przemyslaw Marczak | e0cb85b | 2015-10-27 13:08:00 +0100 | [diff] [blame] | 80 | obj-y += adc/ |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 81 | obj-y += ata/ |
Masahiro Yamada | 6968298 | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 82 | obj-$(CONFIG_DM_DEMO) += demo/ |
Masahiro Yamada | 6252698 | 2013-11-11 14:35:51 +0900 | [diff] [blame] | 83 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 84 | obj-y += block/ |
Dinh Nguyen | d94e18e | 2019-04-23 16:55:03 -0500 | [diff] [blame] | 85 | obj-y += cache/ |
Simon Glass | 131a645 | 2015-04-28 20:25:09 -0600 | [diff] [blame] | 86 | obj-$(CONFIG_CPU) += cpu/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 87 | obj-y += crypto/ |
Alex Kiernan | ed6a4144 | 2018-05-29 15:30:41 +0000 | [diff] [blame] | 88 | obj-$(CONFIG_FASTBOOT) += fastboot/ |
Sughosh Ganu | 1cadae2 | 2022-10-21 18:16:03 +0530 | [diff] [blame] | 89 | obj-$(CONFIG_FWU_MDATA) += fwu-mdata/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 90 | obj-y += misc/ |
Masahiro Yamada | a29e8d3 | 2017-05-09 20:31:40 +0900 | [diff] [blame] | 91 | obj-$(CONFIG_MMC) += mmc/ |
Simon Glass | e287b67 | 2023-02-22 09:33:49 -0700 | [diff] [blame] | 92 | obj-$(CONFIG_MULTIPLEXER) += mux/ |
Zhikang Zhang | 145b88f | 2017-08-03 02:30:57 -0700 | [diff] [blame] | 93 | obj-$(CONFIG_NVME) += nvme/ |
Ramon Fried | 663686d | 2019-04-27 11:15:21 +0300 | [diff] [blame] | 94 | obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/ |
Simon Glass | 98d88f8 | 2019-02-16 20:24:49 -0700 | [diff] [blame] | 95 | obj-y += dfu/ |
| 96 | obj-$(CONFIG_PCH) += pch/ |
Nandor Han | ca6d5ad | 2021-06-10 16:56:43 +0300 | [diff] [blame] | 97 | obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 98 | obj-y += rtc/ |
Simon Glass | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 99 | obj-y += scsi/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 100 | obj-y += sound/ |
Mateusz Kulikowski | 946797f | 2016-03-31 23:12:27 +0200 | [diff] [blame] | 101 | obj-y += spmi/ |
Masahiro Yamada | 887082a | 2013-10-17 20:38:52 +0900 | [diff] [blame] | 102 | obj-y += video/ |
| 103 | obj-y += watchdog/ |
Masahiro Yamada | 4fb1f69 | 2013-11-11 14:35:57 +0900 | [diff] [blame] | 104 | obj-$(CONFIG_QE) += qe/ |
Zhao Qiang | 5ad9395 | 2014-09-25 13:52:25 +0800 | [diff] [blame] | 105 | obj-$(CONFIG_U_QE) += qe/ |
Stephen Warren | d010783 | 2016-05-13 15:50:29 -0600 | [diff] [blame] | 106 | obj-y += mailbox/ |
Khoronzhuk, Ivan | 8062b05 | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 107 | obj-y += memory/ |
Balamanikandan Gunasundar | 810f141 | 2022-10-25 16:21:05 +0530 | [diff] [blame] | 108 | obj-y += mfd/ |
Miquel Raynal | 68f7356 | 2019-10-25 19:39:31 +0200 | [diff] [blame] | 109 | obj-y += mtd/ |
Heiko Schocher | 2b38776 | 2014-07-18 06:07:19 +0200 | [diff] [blame] | 110 | obj-y += pwm/ |
Stephen Warren | 185ad87 | 2016-06-17 09:43:58 -0600 | [diff] [blame] | 111 | obj-y += reset/ |
Masahiro Yamada | 6968298 | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 112 | obj-y += input/ |
Mark Kettenis | e1311b6 | 2021-10-23 16:58:01 +0200 | [diff] [blame] | 113 | obj-y += iommu/ |
Khoronzhuk, Ivan | dbfecb2 | 2014-10-22 17:18:21 +0300 | [diff] [blame] | 114 | # SOC specific infrastructure drivers. |
Ramon Fried | cf1e49f | 2018-07-02 02:57:55 +0300 | [diff] [blame] | 115 | obj-y += smem/ |
Ye.Li | d049afa | 2014-11-20 21:14:13 +0800 | [diff] [blame] | 116 | obj-y += thermal/ |
Jens Wiklander | 1429044 | 2018-09-25 16:40:09 +0200 | [diff] [blame] | 117 | obj-$(CONFIG_TEE) += tee/ |
Mario Six | 573b1b9 | 2018-08-09 14:51:16 +0200 | [diff] [blame] | 118 | obj-y += axi/ |
Faiz Abbas | 5cc5107 | 2019-10-15 18:24:36 +0530 | [diff] [blame] | 119 | obj-y += ufs/ |
Maxime Ripard | bdbdca3 | 2018-09-18 10:35:24 +0300 | [diff] [blame] | 120 | obj-$(CONFIG_W1) += w1/ |
Maxime Ripard | f674fc0 | 2018-09-18 10:35:27 +0300 | [diff] [blame] | 121 | obj-$(CONFIG_W1_EEPROM) += w1-eeprom/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 122 | |
Purna Chandra Mandal | e80d11f | 2016-01-28 15:30:15 +0530 | [diff] [blame] | 123 | obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ |
Andrew Scull | d1d2c57 | 2022-05-30 10:00:08 +0000 | [diff] [blame] | 124 | obj-$(CONFIG_FUZZ) += fuzz/ |
Benjamin Gaignard | a550b54 | 2018-11-27 13:49:50 +0100 | [diff] [blame] | 125 | obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/ |
Sughosh Ganu | 90592ed | 2019-12-28 23:58:27 +0530 | [diff] [blame] | 126 | obj-$(CONFIG_DM_RNG) += rng/ |
Masahiro Yamada | 39ba4b1 | 2015-08-12 07:31:44 +0900 | [diff] [blame] | 127 | endif |
Vignesh Raghavendra | 03ad196 | 2020-02-04 11:09:48 +0530 | [diff] [blame] | 128 | |
| 129 | obj-y += soc/ |