]>
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/ | |
2d59ec84 | 5 | obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/ |
2d424eb0 | 6 | obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/ |
87c16d49 PT |
7 | obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ |
8 | obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/ | |
2d424eb0 | 9 | obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/ |
87c16d49 PT |
10 | obj-$(CONFIG_$(SPL_TPL_)LED) += led/ |
11 | obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/ | |
a430fa06 | 12 | obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/raw/ |
2d424eb0 | 13 | obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/ |
d50d6817 | 14 | obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/ |
87c16d49 PT |
15 | obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/ |
16 | obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/ | |
17 | obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/ | |
2d424eb0 | 18 | obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/ |
87c16d49 PT |
19 | obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/ |
20 | obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/ | |
21 | obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/ | |
e9e5d9d2 | 22 | obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ |
8fb49b4c | 23 | obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/ |
88027419 | 24 | obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ |
08c45314 | 25 | obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ |
2d424eb0 | 26 | obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/ |
040906f6 | 27 | |
87c16d49 | 28 | ifndef CONFIG_TPL_BUILD |
d6c2ac5b MY |
29 | ifdef CONFIG_SPL_BUILD |
30 | ||
afa9609e | 31 | obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/ |
5e148df9 | 32 | obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ |
51c14cd1 | 33 | obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ |
d6c2ac5b | 34 | obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
81e33f4b SR |
35 | obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ |
36 | obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ | |
5918afda | 37 | obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/ |
e3963c09 | 38 | obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/ |
d6c2ac5b MY |
39 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ |
40 | obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ | |
e13278c9 | 41 | obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ |
bfc6bae8 | 42 | obj-$(CONFIG_SPL_DM_RESET) += reset/ |
d6c2ac5b | 43 | obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ |
d6c2ac5b | 44 | obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ |
6f4e7d3c | 45 | obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ |
d6c2ac5b MY |
46 | obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ |
47 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ | |
48 | obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ | |
b432b1eb | 49 | obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ |
d6c2ac5b | 50 | obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ |
f811e976 JJH |
51 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/ |
52 | obj-$(CONFIG_SPL_USB_GADGET) += usb/common/ | |
53 | obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/ | |
d6c2ac5b MY |
54 | obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ |
55 | obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ | |
56 | obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ | |
0fcd48fe | 57 | obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/ |
91ff6865 | 58 | obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/ |
386c65e5 | 59 | obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/ |
8502f9f6 | 60 | obj-$(CONFIG_SPL_THERMAL) += thermal/ |
87c16d49 PT |
61 | |
62 | endif | |
76f1f388 SG |
63 | endif |
64 | ||
65 | ifdef CONFIG_TPL_BUILD | |
66 | ||
76f1f388 | 67 | obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ |
76f1f388 SG |
68 | |
69 | endif | |
d6c2ac5b | 70 | |
76f1f388 | 71 | ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) |
d6c2ac5b | 72 | |
5decbf53 | 73 | obj-y += adc/ |
f2105c61 | 74 | obj-y += ata/ |
f494e0a1 | 75 | obj-$(CONFIG_DM_DEMO) += demo/ |
7b6af41e | 76 | obj-$(CONFIG_BIOSEMU) += bios_emulator/ |
9c3f0bc5 | 77 | obj-y += block/ |
5381c285 | 78 | obj-y += board/ |
9c3f0bc5 | 79 | obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ |
84b124db | 80 | obj-y += cache/ |
11f4dc15 | 81 | obj-$(CONFIG_CPU) += cpu/ |
9c3f0bc5 | 82 | obj-y += crypto/ |
d2df2abb | 83 | obj-$(CONFIG_FASTBOOT) += fastboot/ |
573a3811 | 84 | obj-y += firmware/ |
7b6af41e | 85 | obj-$(CONFIG_FPGA) += fpga/ |
9c3f0bc5 | 86 | obj-y += misc/ |
792f0054 | 87 | obj-$(CONFIG_MMC) += mmc/ |
982388ea | 88 | obj-$(CONFIG_NVME) += nvme/ |
9c3f0bc5 | 89 | obj-y += pcmcia/ |
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/ |
b25732c2 | 98 | obj-y += sysreset/ |
9c3f0bc5 MY |
99 | obj-y += video/ |
100 | obj-y += watchdog/ | |
4c76b552 | 101 | obj-$(CONFIG_QE) += qe/ |
93d33204 | 102 | obj-$(CONFIG_U_QE) += qe/ |
6238935d | 103 | obj-y += mailbox/ |
909ea9aa | 104 | obj-y += memory/ |
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/ |
a43febde | 110 | obj-y += soc/ |
e3568d2e | 111 | obj-y += thermal/ |
9ff4a311 | 112 | obj-$(CONFIG_TEE) += tee/ |
a63e54ab | 113 | obj-y += axi/ |
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/ |
d6c2ac5b | 119 | endif |