1 # SPDX-License-Identifier: GPL-2.0+
3 obj-$(CONFIG_$(SPL_TPL_)BIOSEMU) += bios_emulator/
4 obj-$(CONFIG_$(SPL_TPL_)BLK) += block/
5 obj-$(CONFIG_$(SPL_TPL_)BOOTCOUNT_LIMIT) += bootcount/
6 obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
7 obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
8 obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
9 obj-$(CONFIG_$(SPL_TPL_)DM) += core/
10 obj-$(CONFIG_$(SPL_TPL_)DMA) += dma/
11 obj-$(CONFIG_$(SPL_TPL_)DMA_LEGACY) += dma/
12 obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
13 obj-$(CONFIG_$(SPL_TPL_)EXTCON) += extcon/
14 obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/
15 obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/
16 obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
17 obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
18 obj-$(CONFIG_$(SPL_TPL_)I2C) += i2c/
19 obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
20 obj-$(CONFIG_$(SPL_TPL_)LED) += led/
21 obj-$(CONFIG_$(SPL_TPL_)MMC) += mmc/
23 obj-$(CONFIG_$(SPL_TPL_)ETH) += net/
24 obj-$(CONFIG_$(SPL_TPL_)PCH) += pch/
25 obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
26 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
27 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
28 obj-$(CONFIG_$(SPL_TPL_)POWER) += power/
29 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
30 obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/
31 obj-$(CONFIG_$(SPL_TPL_)SERIAL) += serial/
32 obj-$(CONFIG_$(SPL_TPL_)SPI) += spi/
33 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
34 obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
35 obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
36 obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
37 obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
38 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
39 obj-$(CONFIG_$(SPL_)NVME) += nvme/
40 obj-$(CONFIG_XEN) += xen/
41 obj-$(CONFIG_$(SPL_)FPGA) += fpga/
44 ifndef CONFIG_TPL_BUILD
45 ifndef CONFIG_VPL_BUILD
46 ifdef CONFIG_SPL_BUILD
48 obj-$(CONFIG_SPL_CPU) += cpu/
49 obj-$(CONFIG_SPL_CRYPTO) += crypto/
50 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/
51 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
52 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
53 obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
54 obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
55 obj-$(CONFIG_IMX8ULP_DRAM) += ddr/imx/imx8ulp/
56 obj-$(CONFIG_ARCH_IMX9) += ddr/imx/imx9/
57 obj-$(CONFIG_SPL_DM_RESET) += reset/
58 obj-$(CONFIG_SPL_MUSB_NEW) += usb/musb-new/
59 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
60 obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
61 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
62 obj-$(CONFIG_SPL_WATCHDOG) += watchdog/
63 obj-$(CONFIG_SPL_USB_HOST) += usb/host/
64 obj-$(CONFIG_SPL_SATA) += ata/ scsi/
65 obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/
66 obj-$(CONFIG_SPL_THERMAL) += thermal/
67 obj-$(CONFIG_SPL_VIDEO) +=video/
73 ifdef CONFIG_TPL_BUILD
75 obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/
79 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
83 obj-$(CONFIG_DM_DEMO) += demo/
86 obj-$(CONFIG_CPU) += cpu/
88 obj-$(CONFIG_FASTBOOT) += fastboot/
89 obj-$(CONFIG_FWU_MDATA) += fwu-mdata/
91 obj-$(CONFIG_MMC) += mmc/
92 obj-$(CONFIG_MULTIPLEXER) += mux/
93 obj-$(CONFIG_NVME) += nvme/
94 obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
96 obj-$(CONFIG_PCH) += pch/
97 obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/
104 obj-$(CONFIG_QE) += qe/
105 obj-$(CONFIG_U_QE) += qe/
114 # SOC specific infrastructure drivers.
117 obj-$(CONFIG_TEE) += tee/
118 obj-$(CONFIG_ARM_FFA_TRANSPORT) += firmware/arm-ffa/
121 obj-$(CONFIG_W1) += w1/
122 obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
124 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
125 obj-$(CONFIG_FUZZ) += fuzz/
126 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
127 obj-$(CONFIG_DM_RNG) += rng/