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