]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/Makefile
i2c: fsl_i2c: Make live-tree compatible
[people/ms/u-boot.git] / drivers / Makefile
CommitLineData
da58dec8
TR
1#
2# SPDX-License-Identifier: GPL-2.0+
3#
4
87c16d49
PT
5obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
6obj-$(CONFIG_$(SPL_TPL_)DM) += core/
7obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/
8obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
9obj-$(CONFIG_$(SPL_TPL_)LED) += led/
10obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
11obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/
12obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
13obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
14obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
15obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
16obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/
17obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
e9e5d9d2 18obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
040906f6 19
87c16d49 20ifndef CONFIG_TPL_BUILD
d6c2ac5b
MY
21ifdef CONFIG_SPL_BUILD
22
5e148df9 23obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
51c14cd1 24obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
d6c2ac5b 25obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
d6c2ac5b 26obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
81e33f4b
SR
27obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
28obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
d6c2ac5b 29obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
d6c2ac5b
MY
30obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
31obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
32obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
d6c2ac5b 33obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
6f4e7d3c 34obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
d6c2ac5b
MY
35obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
36obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
37obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
38obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
2446b6b8 39obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
bbe41abf 40obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/
30bf8a0d 41obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
d6c2ac5b 42obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
e94793c8
SA
43obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/
44obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/
5991703e 45obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/
d6c2ac5b
MY
46obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
47obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
48obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
0fcd48fe 49obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
57ebf67b 50obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/
0776167e 51obj-$(CONFIG_SPL_MMC_SUPPORT) += block/
386c65e5 52obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/
8502f9f6 53obj-$(CONFIG_SPL_THERMAL) += thermal/
87c16d49
PT
54
55endif
76f1f388
SG
56endif
57
58ifdef CONFIG_TPL_BUILD
59
76f1f388 60obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
76f1f388
SG
61
62endif
d6c2ac5b 63
76f1f388 64ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
d6c2ac5b 65
5decbf53 66obj-y += adc/
f2105c61 67obj-y += ata/
f494e0a1 68obj-$(CONFIG_DM_DEMO) += demo/
7b6af41e 69obj-$(CONFIG_BIOSEMU) += bios_emulator/
9c3f0bc5
MY
70obj-y += block/
71obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
11f4dc15 72obj-$(CONFIG_CPU) += cpu/
9c3f0bc5 73obj-y += crypto/
573a3811 74obj-y += firmware/
7b6af41e 75obj-$(CONFIG_FPGA) += fpga/
9c3f0bc5 76obj-y += misc/
792f0054 77obj-$(CONFIG_MMC) += mmc/
982388ea 78obj-$(CONFIG_NVME) += nvme/
9c3f0bc5
MY
79obj-y += pcmcia/
80obj-y += dfu/
ca831f49 81obj-$(CONFIG_X86) += pch/
3335786a 82obj-y += phy/marvell/
9c3f0bc5 83obj-y += rtc/
0fcd48fe 84obj-y += scsi/
9c3f0bc5 85obj-y += sound/
04868b40 86obj-y += spmi/
b25732c2 87obj-y += sysreset/
9c3f0bc5 88obj-y += tpm/
9c3f0bc5
MY
89obj-y += video/
90obj-y += watchdog/
4c76b552 91obj-$(CONFIG_QE) += qe/
93d33204 92obj-$(CONFIG_U_QE) += qe/
6238935d 93obj-y += mailbox/
909ea9aa 94obj-y += memory/
b2f97cf2 95obj-y += pwm/
89c1e2da 96obj-y += reset/
f494e0a1 97obj-y += input/
a43febde
KI
98# SOC specific infrastructure drivers.
99obj-y += soc/
ddf56bc7 100obj-$(CONFIG_REMOTEPROC) += remoteproc/
e3568d2e 101obj-y += thermal/
d6c2ac5b 102
9ffa7a35 103obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
d6c2ac5b 104endif