xref: /openbmc/u-boot/drivers/Makefile (revision 62e92077)
1obj-$(CONFIG_$(SPL_)DM)		+= core/
2obj-$(CONFIG_$(SPL_)CLK)	+= clk/
3obj-$(CONFIG_$(SPL_)LED)	+= led/
4obj-$(CONFIG_$(SPL_)PINCTRL)	+= pinctrl/
5obj-$(CONFIG_$(SPL_)RAM)	+= ram/
6
7ifdef CONFIG_SPL_BUILD
8
9obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/
10obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
11obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/
12obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
13obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += ddr/marvell/a38x/
14obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += ddr/marvell/axp/
15obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
16obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
17obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
18obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
19obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
20obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
21obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
22obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
23obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/
24obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
25obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
26obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
27obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
28obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
29obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
30obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
31obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
32obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
33obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
34obj-$(CONFIG_SPL_SATA_SUPPORT) += block/
35
36else
37
38obj-y += adc/
39obj-$(CONFIG_DM_DEMO) += demo/
40obj-$(CONFIG_BIOSEMU) += bios_emulator/
41obj-y += block/
42obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
43obj-$(CONFIG_CPU) += cpu/
44obj-y += crypto/
45obj-$(CONFIG_FPGA) += fpga/
46obj-y += hwmon/
47obj-y += misc/
48obj-y += pcmcia/
49obj-y += dfu/
50obj-y += rtc/
51obj-y += sound/
52obj-y += timer/
53obj-y += tpm/
54obj-y += twserial/
55obj-y += video/
56obj-y += watchdog/
57obj-$(CONFIG_QE) += qe/
58obj-$(CONFIG_U_QE) += qe/
59obj-y += memory/
60obj-y += pwm/
61obj-y += input/
62# SOC specific infrastructure drivers.
63obj-y += soc/
64obj-$(CONFIG_REMOTEPROC) += remoteproc/
65obj-y += thermal/
66
67endif
68