]> Git Repo - u-boot.git/blame - drivers/Makefile
dtoc: Tidy up more Python style in dtb_platdata
[u-boot.git] / drivers / Makefile
CommitLineData
83d290c5 1# SPDX-License-Identifier: GPL-2.0+
da58dec8 2
30d66db7 3obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
5c9c71b6 4obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
87c16d49
PT
5obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
6obj-$(CONFIG_$(SPL_TPL_)DM) += core/
2d59ec84 7obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
2d424eb0 8obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/
a8b50311
SG
9obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/
10obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
11obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
87c16d49 12obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
2d424eb0 13obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
87c16d49
PT
14obj-$(CONFIG_$(SPL_TPL_)LED) += led/
15obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
fb438449 16obj-y += mtd/
0ad40b24 17obj-$(CONFIG_$(SPL_)MULTIPLEXER) += mux/
2d424eb0 18obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/
d50d6817 19obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
87c16d49
PT
20obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
21obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
22obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
2d424eb0 23obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/
87c16d49 24obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
87c16d49 25obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
e9e5d9d2 26obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
8fb49b4c 27obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
88027419 28obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
08c45314 29obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
3a8ee3df 30obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
2d424eb0 31obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
3b65ee34 32obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += power/acpi_pmc/
48654416 33obj-$(CONFIG_XEN) += xen/
29bd8ada 34obj-$(CONFIG_$(SPL_)FPGA) += fpga/
040906f6 35
87c16d49 36ifndef CONFIG_TPL_BUILD
d6c2ac5b
MY
37ifdef CONFIG_SPL_BUILD
38
afa9609e 39obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
31dae22f 40obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/
5e148df9 41obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
51c14cd1 42obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
d6c2ac5b 43obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
81e33f4b
SR
44obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
45obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
5918afda 46obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
e3963c09 47obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
d6c2ac5b
MY
48obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
49obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
e13278c9 50obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
bfc6bae8 51obj-$(CONFIG_SPL_DM_RESET) += reset/
74326a32 52obj-$(CONFIG_SPL_DMA) += dma/
d6c2ac5b
MY
53obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
54obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
b432b1eb 55obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
d6c2ac5b 56obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
f811e976
JJH
57obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
58obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
59obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
d6c2ac5b
MY
60obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
61obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
62obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
0fcd48fe 63obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
91ff6865 64obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/
8502f9f6 65obj-$(CONFIG_SPL_THERMAL) += thermal/
87c16d49
PT
66
67endif
76f1f388
SG
68endif
69
70ifdef CONFIG_TPL_BUILD
71
76f1f388 72obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
76f1f388
SG
73
74endif
d6c2ac5b 75
76f1f388 76ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
d6c2ac5b 77
5decbf53 78obj-y += adc/
f2105c61 79obj-y += ata/
e2bb0be2 80obj-y += bus/
f494e0a1 81obj-$(CONFIG_DM_DEMO) += demo/
7b6af41e 82obj-$(CONFIG_BIOSEMU) += bios_emulator/
9c3f0bc5
MY
83obj-y += block/
84obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
84b124db 85obj-y += cache/
11f4dc15 86obj-$(CONFIG_CPU) += cpu/
9c3f0bc5 87obj-y += crypto/
d2df2abb 88obj-$(CONFIG_FASTBOOT) += fastboot/
9c3f0bc5 89obj-y += misc/
792f0054 90obj-$(CONFIG_MMC) += mmc/
982388ea 91obj-$(CONFIG_NVME) += nvme/
914026d2 92obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
c882163b
SG
93obj-y += dfu/
94obj-$(CONFIG_PCH) += pch/
67685943 95obj-y += phy/allwinner/
3335786a 96obj-y += phy/marvell/
ac97a9ec 97obj-y += phy/rockchip/
9c3f0bc5 98obj-y += rtc/
0fcd48fe 99obj-y += scsi/
9c3f0bc5 100obj-y += sound/
04868b40 101obj-y += spmi/
9c3f0bc5
MY
102obj-y += video/
103obj-y += watchdog/
4c76b552 104obj-$(CONFIG_QE) += qe/
93d33204 105obj-$(CONFIG_U_QE) += qe/
6238935d 106obj-y += mailbox/
909ea9aa 107obj-y += memory/
fb438449 108obj-y += mtd/
b2f97cf2 109obj-y += pwm/
89c1e2da 110obj-y += reset/
f494e0a1 111obj-y += input/
a43febde 112# SOC specific infrastructure drivers.
7b384ecc 113obj-y += smem/
e3568d2e 114obj-y += thermal/
9ff4a311 115obj-$(CONFIG_TEE) += tee/
a63e54ab 116obj-y += axi/
7feafb0a 117obj-y += ufs/
d3e19cf9 118obj-$(CONFIG_W1) += w1/
c924ee25 119obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
d6c2ac5b 120
9ffa7a35 121obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
7f84fc67 122obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
a2487684 123obj-$(CONFIG_DM_RNG) += rng/
d6c2ac5b 124endif
28ff1446
VR
125
126obj-y += soc/
This page took 0.220202 seconds and 4 git commands to generate.