1 # SPDX-License-Identifier: GPL-2.0+
3 obj-$(CONFIG_$(SPL_TPL_)BLK) += block/
4 obj-$(CONFIG_$(SPL_TPL_)BOOTCOUNT_LIMIT) += bootcount/
5 obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
6 obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
7 obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
8 obj-$(CONFIG_$(SPL_TPL_)DM) += core/
9 obj-$(CONFIG_$(SPL_TPL_)DMA) += dma/
10 obj-$(CONFIG_$(SPL_TPL_)DMA_LEGACY) += dma/
11 obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
12 obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/
13 obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/
14 obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
15 obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
16 obj-$(CONFIG_$(SPL_TPL_)I2C) += i2c/
17 obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
18 obj-$(CONFIG_$(SPL_TPL_)LED) += led/
19 obj-$(CONFIG_$(SPL_TPL_)MMC) += mmc/
21 obj-$(CONFIG_$(SPL_)MULTIPLEXER) += mux/
22 obj-$(CONFIG_$(SPL_TPL_)ETH) += net/
23 obj-$(CONFIG_$(SPL_TPL_)PCH) += pch/
24 obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
25 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
26 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
27 obj-$(CONFIG_$(SPL_TPL_)POWER) += power/
28 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
29 obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/
30 obj-$(CONFIG_$(SPL_TPL_)SERIAL) += serial/
31 obj-$(CONFIG_$(SPL_TPL_)SPI) += spi/
32 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
33 obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
34 obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
35 obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
36 obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
37 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
38 obj-$(CONFIG_XEN) += xen/
39 obj-$(CONFIG_$(SPL_)FPGA) += fpga/
42 ifndef CONFIG_TPL_BUILD
43 ifndef CONFIG_VPL_BUILD
44 ifdef CONFIG_SPL_BUILD
46 obj-$(CONFIG_SPL_CPU) += cpu/
47 obj-$(CONFIG_SPL_CRYPTO) += crypto/
48 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/
49 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
50 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
51 obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
52 obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
53 obj-$(CONFIG_IMX8ULP_DRAM) += ddr/imx/imx8ulp/
54 obj-$(CONFIG_ARCH_IMX9) += ddr/imx/imx9/
55 obj-$(CONFIG_SPL_DM_RESET) += reset/
56 obj-$(CONFIG_SPL_MUSB_NEW) += usb/musb-new/
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/
60 obj-$(CONFIG_SPL_WATCHDOG) += watchdog/
61 obj-$(CONFIG_SPL_USB_HOST) += usb/host/
62 obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
63 obj-$(CONFIG_SPL_SATA) += ata/ scsi/
64 obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/
65 obj-$(CONFIG_SPL_THERMAL) += thermal/
71 ifdef CONFIG_TPL_BUILD
73 obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/
77 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
81 obj-$(CONFIG_DM_DEMO) += demo/
82 obj-$(CONFIG_BIOSEMU) += bios_emulator/
85 obj-$(CONFIG_CPU) += cpu/
87 obj-$(CONFIG_FASTBOOT) += fastboot/
88 obj-$(CONFIG_FWU_MDATA) += fwu-mdata/
90 obj-$(CONFIG_MMC) += mmc/
91 obj-$(CONFIG_NVME) += nvme/
92 obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
94 obj-$(CONFIG_PCH) += pch/
95 obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/
102 obj-$(CONFIG_QE) += qe/
103 obj-$(CONFIG_U_QE) += qe/
111 # SOC specific infrastructure drivers.
114 obj-$(CONFIG_TEE) += tee/
117 obj-$(CONFIG_W1) += w1/
118 obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
120 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
121 obj-$(CONFIG_FUZZ) += fuzz/
122 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
123 obj-$(CONFIG_DM_RNG) += rng/