]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | # SPDX-License-Identifier: GPL-2.0+ |
da58dec8 | 2 | |
5c9c71b6 | 3 | obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/ |
87c16d49 PT |
4 | obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ |
5 | obj-$(CONFIG_$(SPL_TPL_)DM) += core/ | |
2d59ec84 | 6 | obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/ |
2d424eb0 | 7 | obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/ |
a8b50311 SG |
8 | obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ |
9 | obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/ | |
10 | obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/ | |
87c16d49 | 11 | obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/ |
2d424eb0 | 12 | obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/ |
87c16d49 PT |
13 | obj-$(CONFIG_$(SPL_TPL_)LED) += led/ |
14 | obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/ | |
fb438449 | 15 | obj-y += mtd/ |
2d424eb0 | 16 | obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/ |
d50d6817 | 17 | obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/ |
87c16d49 PT |
18 | obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/ |
19 | obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/ | |
20 | obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/ | |
2d424eb0 | 21 | obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/ |
87c16d49 | 22 | obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/ |
87c16d49 | 23 | obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/ |
e9e5d9d2 | 24 | obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ |
8fb49b4c | 25 | obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/ |
88027419 | 26 | obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ |
08c45314 | 27 | obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ |
2d424eb0 | 28 | obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/ |
3b65ee34 | 29 | obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += power/acpi_pmc/ |
8c86f96d | 30 | obj-$(CONFIG_$(SPL_)BOARD) += board/ |
040906f6 | 31 | |
87c16d49 | 32 | ifndef CONFIG_TPL_BUILD |
d6c2ac5b MY |
33 | ifdef CONFIG_SPL_BUILD |
34 | ||
afa9609e | 35 | obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/ |
31dae22f | 36 | obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/ |
5e148df9 | 37 | obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ |
51c14cd1 | 38 | obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ |
d6c2ac5b | 39 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
81e33f4b SR |
40 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
41 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ | |
5918afda | 42 | obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/ |
e3963c09 | 43 | obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/ |
d6c2ac5b MY |
44 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
45 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ | |
e13278c9 | 46 | obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ |
bfc6bae8 | 47 | obj-$(CONFIG_SPL_DM_RESET) += reset/ |
74326a32 | 48 | obj-$(CONFIG_SPL_DMA) += dma/ |
d6c2ac5b MY |
49 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ |
50 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ | |
b432b1eb | 51 | obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ |
d6c2ac5b | 52 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
f811e976 JJH |
53 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/ |
54 | obj-$(CONFIG_SPL_USB_GADGET) += usb/common/ | |
55 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/ | |
d6c2ac5b MY |
56 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
57 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ | |
58 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ | |
0fcd48fe | 59 | obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/ |
91ff6865 | 60 | obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/ |
386c65e5 | 61 | obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/ |
8502f9f6 | 62 | obj-$(CONFIG_SPL_THERMAL) += thermal/ |
87c16d49 PT |
63 | |
64 | endif | |
76f1f388 SG |
65 | endif |
66 | ||
67 | ifdef CONFIG_TPL_BUILD | |
68 | ||
76f1f388 | 69 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
76f1f388 SG |
70 | |
71 | endif | |
d6c2ac5b | 72 | |
76f1f388 | 73 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
d6c2ac5b | 74 | |
5decbf53 | 75 | obj-y += adc/ |
f2105c61 | 76 | obj-y += ata/ |
f494e0a1 | 77 | obj-$(CONFIG_DM_DEMO) += demo/ |
7b6af41e | 78 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
9c3f0bc5 MY |
79 | obj-y += block/ |
80 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ | |
84b124db | 81 | obj-y += cache/ |
11f4dc15 | 82 | obj-$(CONFIG_CPU) += cpu/ |
9c3f0bc5 | 83 | obj-y += crypto/ |
d2df2abb | 84 | obj-$(CONFIG_FASTBOOT) += fastboot/ |
7b6af41e | 85 | obj-$(CONFIG_FPGA) += fpga/ |
9c3f0bc5 | 86 | obj-y += misc/ |
792f0054 | 87 | obj-$(CONFIG_MMC) += mmc/ |
982388ea | 88 | obj-$(CONFIG_NVME) += nvme/ |
914026d2 | 89 | obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/ |
c882163b SG |
90 | obj-y += dfu/ |
91 | obj-$(CONFIG_PCH) += pch/ | |
67685943 | 92 | obj-y += phy/allwinner/ |
3335786a | 93 | obj-y += phy/marvell/ |
9c3f0bc5 | 94 | obj-y += rtc/ |
0fcd48fe | 95 | obj-y += scsi/ |
9c3f0bc5 | 96 | obj-y += sound/ |
04868b40 | 97 | obj-y += spmi/ |
9c3f0bc5 MY |
98 | obj-y += video/ |
99 | obj-y += watchdog/ | |
4c76b552 | 100 | obj-$(CONFIG_QE) += qe/ |
93d33204 | 101 | obj-$(CONFIG_U_QE) += qe/ |
6238935d | 102 | obj-y += mailbox/ |
909ea9aa | 103 | obj-y += memory/ |
fb438449 | 104 | obj-y += mtd/ |
b2f97cf2 | 105 | obj-y += pwm/ |
89c1e2da | 106 | obj-y += reset/ |
f494e0a1 | 107 | obj-y += input/ |
a43febde | 108 | # SOC specific infrastructure drivers. |
7b384ecc | 109 | obj-y += smem/ |
e3568d2e | 110 | obj-y += thermal/ |
9ff4a311 | 111 | obj-$(CONFIG_TEE) += tee/ |
a63e54ab | 112 | obj-y += axi/ |
7feafb0a | 113 | obj-y += ufs/ |
d3e19cf9 | 114 | obj-$(CONFIG_W1) += w1/ |
c924ee25 | 115 | obj-$(CONFIG_W1_EEPROM) += w1-eeprom/ |
d6c2ac5b | 116 | |
9ffa7a35 | 117 | obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ |
7f84fc67 | 118 | obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/ |
a2487684 | 119 | obj-$(CONFIG_DM_RNG) += rng/ |
d6c2ac5b | 120 | endif |
28ff1446 VR |
121 | |
122 | obj-y += soc/ |