xref: /openbmc/u-boot/drivers/Makefile (revision 48038c4a)
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-$(CONFIG_DM_DEMO) += demo/
39obj-$(CONFIG_BIOSEMU) += bios_emulator/
40obj-y += block/
41obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
42obj-$(CONFIG_CPU) += cpu/
43obj-y += crypto/
44obj-$(CONFIG_FPGA) += fpga/
45obj-y += hwmon/
46obj-y += misc/
47obj-y += pcmcia/
48obj-y += dfu/
49obj-y += rtc/
50obj-y += sound/
51obj-y += tpm/
52obj-y += twserial/
53obj-y += video/
54obj-y += watchdog/
55obj-$(CONFIG_QE) += qe/
56obj-$(CONFIG_U_QE) += qe/
57obj-y += memory/
58obj-y += pwm/
59obj-y += input/
60# SOC specific infrastructure drivers.
61obj-y += soc/
62obj-$(CONFIG_REMOTEPROC) += remoteproc/
63obj-y += thermal/
64
65endif
66