• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0+
2
3obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
4obj-$(CONFIG_$(SPL_TPL_)DM) += core/
5obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
6obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/
7obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/
8obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
9obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
10obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
11obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
12obj-$(CONFIG_$(SPL_TPL_)LED) += led/
13obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
14obj-y += mtd/
15obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/
16obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
17obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
18obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
19obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
20obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/
21obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
22obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
23obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
24obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
25obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
26obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
27obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
28
29ifndef CONFIG_TPL_BUILD
30ifdef CONFIG_SPL_BUILD
31
32obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
33obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/
34obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
35obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
36obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
37obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
38obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
39obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
40obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
41obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
42obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
43obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
44obj-$(CONFIG_SPL_DM_RESET) += reset/
45obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
46obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
47obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
48obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
49obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
50obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
51obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
52obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
53obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
54obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
55obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
56obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
57obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/
58obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/
59obj-$(CONFIG_SPL_THERMAL) += thermal/
60
61endif
62endif
63
64ifdef CONFIG_TPL_BUILD
65
66obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
67
68endif
69
70ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
71
72obj-y += adc/
73obj-y += ata/
74obj-$(CONFIG_DM_DEMO) += demo/
75obj-$(CONFIG_BIOSEMU) += bios_emulator/
76obj-y += block/
77obj-y += board/
78obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
79obj-y += cache/
80obj-$(CONFIG_CPU) += cpu/
81obj-y += crypto/
82obj-$(CONFIG_FASTBOOT) += fastboot/
83obj-$(CONFIG_FPGA) += fpga/
84obj-y += misc/
85obj-$(CONFIG_MMC) += mmc/
86obj-$(CONFIG_NVME) += nvme/
87obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
88obj-y += dfu/
89obj-$(CONFIG_PCH) += pch/
90obj-y += phy/allwinner/
91obj-y += phy/marvell/
92obj-y += phy/hibvt/
93obj-y += rtc/
94obj-y += scsi/
95obj-y += sound/
96obj-y += spmi/
97obj-y += video/
98obj-y += watchdog/
99obj-$(CONFIG_QE) += qe/
100obj-$(CONFIG_U_QE) += qe/
101obj-y += mailbox/
102obj-y += memory/
103obj-y += mtd/
104obj-y += pwm/
105obj-y += reset/
106obj-y += input/
107# SOC specific infrastructure drivers.
108obj-y += smem/
109obj-y += soc/
110obj-y += thermal/
111obj-$(CONFIG_TEE) += tee/
112obj-y += axi/
113obj-y += ufs/
114obj-$(CONFIG_W1) += w1/
115obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
116
117obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
118obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
119endif
120obj-$(CONFIG_DDR_TRAINING_V2) += ddr/hisilicon/default/
121