xref: /rk3399_rockchip-uboot/drivers/Makefile (revision d6c2ac5b7572e1fd9662e1cd9c1d7c184dfab1c0)
1ifdef CONFIG_SPL_BUILD
2
3obj-$(CONFIG_SPL_CLK_SUPPORT) += clk/
4obj-$(CONFIG_SPL_DM) += core/
5obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/
6obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
7obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/
8obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
9obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += ddr/marvell/a38x/
10obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += ddr/marvell/axp/
11obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
12obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
13obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
14obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
15obj-$(CONFIG_SPL_LED_SUPPORT) += led/
16obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
17obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
18obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
19obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
20obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/
21obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
22obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
23obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
24obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
25obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
26obj-$(CONFIG_SPL_RAM_SUPPORT) += ram/
27obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
28obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
29obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
30obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
31obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
32obj-$(CONFIG_SPL_SATA_SUPPORT) += block/
33
34else
35
36obj-$(CONFIG_CLK) += clk/
37obj-$(CONFIG_DM) += core/
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-$(CONFIG_LED) += led/
47obj-y += misc/
48obj-y += pcmcia/
49obj-y += dfu/
50obj-$(CONFIG_RAM) += ram/
51obj-y += rtc/
52obj-y += sound/
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-y += thermal/
65
66endif
67