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