]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | # SPDX-License-Identifier: GPL-2.0+ |
da58dec8 | 2 | |
87c16d49 PT |
3 | obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ |
4 | obj-$(CONFIG_$(SPL_TPL_)DM) += core/ | |
5 | obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ | |
6 | obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/ | |
7 | obj-$(CONFIG_$(SPL_TPL_)LED) += led/ | |
8 | obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/ | |
a430fa06 | 9 | obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/raw/ |
87c16d49 PT |
10 | obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/ |
11 | obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/ | |
12 | obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/ | |
13 | obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/ | |
14 | obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/ | |
15 | obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/ | |
e9e5d9d2 | 16 | obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ |
88027419 | 17 | obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ |
08c45314 | 18 | obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ |
040906f6 | 19 | |
87c16d49 | 20 | ifndef CONFIG_TPL_BUILD |
d6c2ac5b MY |
21 | ifdef CONFIG_SPL_BUILD |
22 | ||
afa9609e | 23 | obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/ |
5e148df9 | 24 | obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ |
51c14cd1 | 25 | obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ |
d6c2ac5b | 26 | obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/ |
d6c2ac5b | 27 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
81e33f4b SR |
28 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
29 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ | |
d6c2ac5b | 30 | obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/ |
d6c2ac5b MY |
31 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
32 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ | |
e13278c9 | 33 | obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ |
bfc6bae8 | 34 | obj-$(CONFIG_SPL_DM_RESET) += reset/ |
d6c2ac5b | 35 | obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ |
d6c2ac5b | 36 | obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ |
6f4e7d3c | 37 | obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ |
d6c2ac5b MY |
38 | obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ |
39 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ | |
40 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ | |
b432b1eb | 41 | obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ |
2446b6b8 | 42 | obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ |
bbe41abf | 43 | obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/ |
30bf8a0d | 44 | obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ |
d6c2ac5b | 45 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
e94793c8 SA |
46 | obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/ |
47 | obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/ | |
5991703e | 48 | obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/ |
d6c2ac5b MY |
49 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
50 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ | |
51 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ | |
0fcd48fe | 52 | obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/ |
57ebf67b | 53 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/ |
0776167e | 54 | obj-$(CONFIG_SPL_MMC_SUPPORT) += block/ |
386c65e5 | 55 | obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/ |
8502f9f6 | 56 | obj-$(CONFIG_SPL_THERMAL) += thermal/ |
87c16d49 PT |
57 | |
58 | endif | |
76f1f388 SG |
59 | endif |
60 | ||
61 | ifdef CONFIG_TPL_BUILD | |
62 | ||
76f1f388 | 63 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
76f1f388 SG |
64 | |
65 | endif | |
d6c2ac5b | 66 | |
76f1f388 | 67 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
d6c2ac5b | 68 | |
5decbf53 | 69 | obj-y += adc/ |
f2105c61 | 70 | obj-y += ata/ |
f494e0a1 | 71 | obj-$(CONFIG_DM_DEMO) += demo/ |
7b6af41e | 72 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
9c3f0bc5 | 73 | obj-y += block/ |
5381c285 | 74 | obj-y += board/ |
9c3f0bc5 | 75 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ |
11f4dc15 | 76 | obj-$(CONFIG_CPU) += cpu/ |
9c3f0bc5 | 77 | obj-y += crypto/ |
d2df2abb | 78 | obj-$(CONFIG_FASTBOOT) += fastboot/ |
573a3811 | 79 | obj-y += firmware/ |
7b6af41e | 80 | obj-$(CONFIG_FPGA) += fpga/ |
9c3f0bc5 | 81 | obj-y += misc/ |
792f0054 | 82 | obj-$(CONFIG_MMC) += mmc/ |
982388ea | 83 | obj-$(CONFIG_NVME) += nvme/ |
9c3f0bc5 MY |
84 | obj-y += pcmcia/ |
85 | obj-y += dfu/ | |
ca831f49 | 86 | obj-$(CONFIG_X86) += pch/ |
67685943 | 87 | obj-y += phy/allwinner/ |
3335786a | 88 | obj-y += phy/marvell/ |
9c3f0bc5 | 89 | obj-y += rtc/ |
0fcd48fe | 90 | obj-y += scsi/ |
9c3f0bc5 | 91 | obj-y += sound/ |
04868b40 | 92 | obj-y += spmi/ |
b25732c2 | 93 | obj-y += sysreset/ |
9c3f0bc5 | 94 | obj-y += tpm/ |
9c3f0bc5 MY |
95 | obj-y += video/ |
96 | obj-y += watchdog/ | |
4c76b552 | 97 | obj-$(CONFIG_QE) += qe/ |
93d33204 | 98 | obj-$(CONFIG_U_QE) += qe/ |
6238935d | 99 | obj-y += mailbox/ |
909ea9aa | 100 | obj-y += memory/ |
b2f97cf2 | 101 | obj-y += pwm/ |
89c1e2da | 102 | obj-y += reset/ |
f494e0a1 | 103 | obj-y += input/ |
a43febde | 104 | # SOC specific infrastructure drivers. |
7b384ecc | 105 | obj-y += smem/ |
a43febde | 106 | obj-y += soc/ |
e3568d2e | 107 | obj-y += thermal/ |
9ff4a311 | 108 | obj-$(CONFIG_TEE) += tee/ |
a63e54ab | 109 | obj-y += axi/ |
d3e19cf9 | 110 | obj-$(CONFIG_W1) += w1/ |
c924ee25 | 111 | obj-$(CONFIG_W1_EEPROM) += w1-eeprom/ |
d6c2ac5b | 112 | |
9ffa7a35 | 113 | obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ |
d6c2ac5b | 114 | endif |