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