]> git.sur5r.net Git - u-boot/blob - drivers/Makefile
ARM64: zynqmp: Adjust to new SMC interface to get silicon version
[u-boot] / drivers / Makefile
1 #
2 # SPDX-License-Identifier:      GPL-2.0+
3 #
4
5 obj-$(CONFIG_$(SPL_)DM)         += core/
6 obj-$(CONFIG_$(SPL_)CLK)        += clk/
7 obj-$(CONFIG_$(SPL_)LED)        += led/
8 obj-$(CONFIG_$(SPL_)PINCTRL)    += pinctrl/
9 obj-$(CONFIG_$(SPL_)RAM)        += ram/
10
11 ifdef CONFIG_SPL_BUILD
12
13 obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
14 obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/
15 obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
16 obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/
17 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
18 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
19 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
20 obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
21 obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
22 obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
23 obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
24 obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
25 obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/
26 obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
27 obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
28 obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
29 obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
30 obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
31 obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
32 obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
33 obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
34 obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
35 obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
36 obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
37 obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
38 obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
39 obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
40 obj-$(CONFIG_SPL_SATA_SUPPORT) += block/
41 obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/
42 obj-$(CONFIG_SPL_MMC_SUPPORT) += block/
43 endif
44
45 ifdef CONFIG_TPL_BUILD
46
47 obj-$(CONFIG_TPL_I2C_SUPPORT) += i2c/
48 obj-$(CONFIG_TPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/
49 obj-$(CONFIG_TPL_MMC_SUPPORT) += mmc/
50 obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
51 obj-$(CONFIG_TPL_NAND_SUPPORT) += mtd/nand/
52 obj-$(CONFIG_TPL_SERIAL_SUPPORT) += serial/
53 obj-$(CONFIG_TPL_SPI_FLASH_SUPPORT) += mtd/spi/
54 obj-$(CONFIG_TPL_SPI_SUPPORT) += spi/
55
56 endif
57
58 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
59
60 obj-y += adc/
61 obj-$(CONFIG_DM_DEMO) += demo/
62 obj-$(CONFIG_BIOSEMU) += bios_emulator/
63 obj-y += block/
64 obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
65 obj-$(CONFIG_CPU) += cpu/
66 obj-y += crypto/
67 obj-$(CONFIG_FPGA) += fpga/
68 obj-y += hwmon/
69 obj-y += misc/
70 obj-y += pcmcia/
71 obj-y += dfu/
72 obj-$(CONFIG_X86) += pch/
73 obj-y += phy/marvell/
74 obj-y += rtc/
75 obj-y += sound/
76 obj-y += spmi/
77 obj-y += sysreset/
78 obj-y += timer/
79 obj-y += tpm/
80 obj-y += twserial/
81 obj-y += video/
82 obj-y += watchdog/
83 obj-$(CONFIG_QE) += qe/
84 obj-$(CONFIG_U_QE) += qe/
85 obj-y += mailbox/
86 obj-y += memory/
87 obj-y += pwm/
88 obj-y += reset/
89 obj-y += input/
90 # SOC specific infrastructure drivers.
91 obj-y += soc/
92 obj-$(CONFIG_REMOTEPROC) += remoteproc/
93 obj-y += thermal/
94
95 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
96 endif