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_)PCH) += pch/
22 obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
23 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
24 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
25 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
26 obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/
27 obj-$(CONFIG_$(SPL_TPL_)SERIAL) += serial/
28 obj-$(CONFIG_$(SPL_TPL_)SPI) += spi/
29 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
30 obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
31 obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
32 obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
33 obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
34 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
35 obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += power/acpi_pmc/
36 obj-$(CONFIG_XEN) += xen/
37 obj-$(CONFIG_$(SPL_)FPGA) += fpga/
39 ifndef CONFIG_TPL_BUILD
40 ifdef CONFIG_SPL_BUILD
42 obj-$(CONFIG_SPL_CPU) += cpu/
43 obj-$(CONFIG_SPL_CRYPTO) += crypto/
44 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/
45 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
46 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
47 obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
48 obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
49 obj-$(CONFIG_IMX8ULP_DRAM) += ddr/imx/imx8ulp/
50 obj-$(CONFIG_SPL_POWER) += power/ power/pmic/
51 obj-$(CONFIG_SPL_POWER) += power/regulator/
52 obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
53 obj-$(CONFIG_SPL_DM_RESET) += reset/
54 obj-$(CONFIG_SPL_ETH) += net/
55 obj-$(CONFIG_SPL_ETH) += net/phy/
56 obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
57 obj-$(CONFIG_SPL_MUSB_NEW) += usb/musb-new/
58 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
59 obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
60 obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
61 obj-$(CONFIG_SPL_WATCHDOG) += watchdog/
62 obj-$(CONFIG_SPL_USB_HOST) += usb/host/
63 obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
64 obj-$(CONFIG_SPL_SATA) += ata/ scsi/
65 obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/
66 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),)
82 obj-$(CONFIG_DM_DEMO) += demo/
83 obj-$(CONFIG_BIOSEMU) += bios_emulator/
86 obj-$(CONFIG_CPU) += cpu/
88 obj-$(CONFIG_FASTBOOT) += fastboot/
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/
110 # SOC specific infrastructure drivers.
113 obj-$(CONFIG_TEE) += tee/
116 obj-$(CONFIG_W1) += w1/
117 obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
119 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
120 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
121 obj-$(CONFIG_DM_RNG) += rng/