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