1 # SPDX-License-Identifier: GPL-2.0+
3 obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
4 obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
5 obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
6 obj-$(CONFIG_$(SPL_TPL_)DM) += core/
7 obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
8 obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/
9 obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/
10 obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
11 obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
12 obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
13 obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
14 obj-$(CONFIG_$(SPL_TPL_)LED) += led/
15 obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
17 obj-$(CONFIG_$(SPL_)MULTIPLEXER) += mux/
18 obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/
19 obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
20 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
21 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
22 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
23 obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/
24 obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
25 obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
26 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
27 obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
28 obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
29 obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
30 obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
31 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
32 obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += power/acpi_pmc/
33 obj-$(CONFIG_XEN) += xen/
34 obj-$(CONFIG_$(SPL_)FPGA) += fpga/
36 ifndef CONFIG_TPL_BUILD
37 ifdef CONFIG_SPL_BUILD
39 obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
40 obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/
41 obj-$(CONFIG_SPL_CPU) += cpu/
42 obj-$(CONFIG_SPL_CRYPTO) += crypto/
43 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
44 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
45 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
46 obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
47 obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
48 obj-$(CONFIG_SPL_POWER) += power/ power/pmic/
49 obj-$(CONFIG_SPL_POWER) += power/regulator/
50 obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
51 obj-$(CONFIG_SPL_DM_RESET) += reset/
52 obj-$(CONFIG_SPL_DMA) += dma/
53 obj-$(CONFIG_SPL_ETH) += net/
54 obj-$(CONFIG_SPL_ETH) += net/phy/
55 obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
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_SUPPORT) += watchdog/
61 obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
62 obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
63 obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
64 obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/
65 obj-$(CONFIG_SPL_THERMAL) += thermal/
70 ifdef CONFIG_TPL_BUILD
72 obj-$(CONFIG_TPL_BOOTCOUNT_LIMIT) += bootcount/
73 obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
77 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
82 obj-$(CONFIG_DM_DEMO) += demo/
83 obj-$(CONFIG_BIOSEMU) += bios_emulator/
85 obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
87 obj-$(CONFIG_CPU) += cpu/
89 obj-$(CONFIG_FASTBOOT) += fastboot/
91 obj-$(CONFIG_MMC) += mmc/
92 obj-$(CONFIG_NVME) += nvme/
93 obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
95 obj-$(CONFIG_PCH) += pch/
96 obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/
103 obj-$(CONFIG_QE) += qe/
104 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_DM_HWSPINLOCK) += hwspinlock/
122 obj-$(CONFIG_DM_RNG) += rng/