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