sh: tmu: Inline tmu_timer_{start,stop}()
[oweals/u-boot.git] / drivers / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2
3 obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
4 obj-$(CONFIG_$(SPL_TPL_)DM) += core/
5 obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/
6 obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
7 obj-$(CONFIG_$(SPL_TPL_)LED) += led/
8 obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
9 obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/
10 obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
11 obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
12 obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
13 obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
14 obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/
15 obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
16 obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
17 obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
18 obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
19
20 ifndef CONFIG_TPL_BUILD
21 ifdef CONFIG_SPL_BUILD
22
23 obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
24 obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
25 obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
26 obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
27 obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
28 obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
29 obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
30 obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
31 obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
32 obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
33 obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
34 obj-$(CONFIG_SPL_DM_RESET) += reset/
35 obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
36 obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
37 obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
38 obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
39 obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
40 obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
41 obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
42 obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
43 obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/
44 obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
45 obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
46 obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/
47 obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/
48 obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/
49 obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
50 obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
51 obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
52 obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
53 obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/
54 obj-$(CONFIG_SPL_MMC_SUPPORT) += block/
55 obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/
56 obj-$(CONFIG_SPL_THERMAL) += thermal/
57
58 endif
59 endif
60
61 ifdef CONFIG_TPL_BUILD
62
63 obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
64
65 endif
66
67 ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
68
69 obj-y += adc/
70 obj-y += ata/
71 obj-$(CONFIG_DM_DEMO) += demo/
72 obj-$(CONFIG_BIOSEMU) += bios_emulator/
73 obj-y += block/
74 obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
75 obj-$(CONFIG_CPU) += cpu/
76 obj-y += crypto/
77 obj-$(CONFIG_FASTBOOT) += fastboot/
78 obj-y += firmware/
79 obj-$(CONFIG_FPGA) += fpga/
80 obj-y += misc/
81 obj-$(CONFIG_MMC) += mmc/
82 obj-$(CONFIG_NVME) += nvme/
83 obj-y += pcmcia/
84 obj-y += dfu/
85 obj-$(CONFIG_X86) += pch/
86 obj-y += phy/allwinner/
87 obj-y += phy/marvell/
88 obj-y += rtc/
89 obj-y += scsi/
90 obj-y += sound/
91 obj-y += spmi/
92 obj-y += sysreset/
93 obj-y += tpm/
94 obj-y += video/
95 obj-y += watchdog/
96 obj-$(CONFIG_QE) += qe/
97 obj-$(CONFIG_U_QE) += qe/
98 obj-y += mailbox/
99 obj-y += memory/
100 obj-y += pwm/
101 obj-y += reset/
102 obj-y += input/
103 # SOC specific infrastructure drivers.
104 obj-y += smem/
105 obj-y += soc/
106 obj-y += thermal/
107 obj-y += axi/
108
109 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
110 endif