1 # SPDX-License-Identifier: GPL-2.0+
3 obj-$(CONFIG_$(SPL_TPL_)BOOTCOUNT_LIMIT) += bootcount/
4 obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
5 obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
6 obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
7 obj-$(CONFIG_$(SPL_TPL_)DM) += core/
8 obj-$(CONFIG_$(SPL_TPL_)DMA) += dma/
9 obj-$(CONFIG_$(SPL_TPL_)DMA_LEGACY) += dma/
10 obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
11 obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/
12 obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/
13 obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
14 obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
15 obj-$(CONFIG_$(SPL_TPL_)I2C) += i2c/
16 obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
17 obj-$(CONFIG_$(SPL_TPL_)LED) += led/
18 obj-$(CONFIG_$(SPL_TPL_)MMC) += mmc/
20 obj-$(CONFIG_$(SPL_)MULTIPLEXER) += mux/
21 obj-$(CONFIG_$(SPL_TPL_)ETH) += net/
22 obj-$(CONFIG_$(SPL_TPL_)PCH) += pch/
23 obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
24 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
25 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
26 obj-$(CONFIG_$(SPL_TPL_)POWER) += power/
27 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
28 obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/
29 obj-$(CONFIG_$(SPL_TPL_)SERIAL) += serial/
30 obj-$(CONFIG_$(SPL_TPL_)SPI) += spi/
31 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
32 obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
33 obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
34 obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
35 obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
36 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
37 obj-$(CONFIG_XEN) += xen/
38 obj-$(CONFIG_$(SPL_)FPGA) += fpga/
40 ifndef CONFIG_TPL_BUILD
41 ifdef CONFIG_SPL_BUILD
43 obj-$(CONFIG_SPL_CPU) += cpu/
44 obj-$(CONFIG_SPL_CRYPTO) += crypto/
45 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/
46 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
47 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
48 obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
49 obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
50 obj-$(CONFIG_IMX8ULP_DRAM) += ddr/imx/imx8ulp/
51 obj-$(CONFIG_SPL_DM_RESET) += reset/
52 obj-$(CONFIG_SPL_MUSB_NEW) += usb/musb-new/
53 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
54 obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
55 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
56 obj-$(CONFIG_SPL_WATCHDOG) += watchdog/
57 obj-$(CONFIG_SPL_USB_HOST) += usb/host/
58 obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
59 obj-$(CONFIG_SPL_SATA) += ata/ scsi/
60 obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/
61 obj-$(CONFIG_SPL_THERMAL) += thermal/
66 ifdef CONFIG_TPL_BUILD
68 obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/
72 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
77 obj-$(CONFIG_DM_DEMO) += demo/
78 obj-$(CONFIG_BIOSEMU) += bios_emulator/
81 obj-$(CONFIG_CPU) += cpu/
83 obj-$(CONFIG_FASTBOOT) += fastboot/
85 obj-$(CONFIG_MMC) += mmc/
86 obj-$(CONFIG_NVME) += nvme/
87 obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
89 obj-$(CONFIG_PCH) += pch/
90 obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/
97 obj-$(CONFIG_QE) += qe/
98 obj-$(CONFIG_U_QE) += qe/
106 # SOC specific infrastructure drivers.
109 obj-$(CONFIG_TEE) += tee/
112 obj-$(CONFIG_W1) += w1/
113 obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
115 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
116 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
117 obj-$(CONFIG_DM_RNG) += rng/