1# 2# SPDX-License-Identifier: GPL-2.0+ 3# 4 5obj-$(CONFIG_$(SPL_TPL_)DM) += core/ 6obj-$(CONFIG_$(SPL_)CLK) += clk/ 7obj-$(CONFIG_$(SPL_)LED) += led/ 8obj-$(CONFIG_$(SPL_)PHY) += phy/ 9obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/ 10obj-$(CONFIG_$(SPL_)RAM) += ram/ 11 12ifdef CONFIG_SPL_BUILD 13 14obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ 15obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ 16obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/ 17obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/ 18obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/ 19obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ 20obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ 21obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ 22obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/ 23obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/ 24obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/ 25obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ 26obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ 27obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ 28obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ 29obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/ 30obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ 31obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/ 32obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ 33obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ 34obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ 35obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ 36obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ 37obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ 38obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/ 39obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ 40obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/ 41obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ 42obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/ 43obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/ 44obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/ 45obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ 46obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ 47obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ 48obj-$(CONFIG_SPL_SATA_SUPPORT) += block/ 49obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/ 50obj-$(CONFIG_SPL_MMC_SUPPORT) += block/ 51endif 52 53ifdef CONFIG_TPL_BUILD 54 55obj-$(CONFIG_TPL_I2C_SUPPORT) += i2c/ 56obj-$(CONFIG_TPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ 57obj-$(CONFIG_TPL_MMC_SUPPORT) += mmc/ 58obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ 59obj-$(CONFIG_TPL_NAND_SUPPORT) += mtd/nand/ 60obj-$(CONFIG_TPL_SERIAL_SUPPORT) += serial/ 61obj-$(CONFIG_TPL_SPI_FLASH_SUPPORT) += mtd/spi/ 62obj-$(CONFIG_TPL_SPI_SUPPORT) += spi/ 63 64endif 65 66ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) 67 68obj-y += adc/ 69obj-$(CONFIG_DM_DEMO) += demo/ 70obj-$(CONFIG_BIOSEMU) += bios_emulator/ 71obj-y += block/ 72obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ 73obj-$(CONFIG_CPU) += cpu/ 74obj-y += crypto/ 75obj-y += firmware/ 76obj-$(CONFIG_FPGA) += fpga/ 77obj-y += hwmon/ 78obj-y += misc/ 79obj-y += pcmcia/ 80obj-y += dfu/ 81obj-$(CONFIG_X86) += pch/ 82obj-y += phy/marvell/ 83obj-y += rtc/ 84obj-y += sound/ 85obj-y += spmi/ 86obj-y += sysreset/ 87obj-y += timer/ 88obj-y += tpm/ 89obj-y += twserial/ 90obj-y += video/ 91obj-y += watchdog/ 92obj-$(CONFIG_QE) += qe/ 93obj-$(CONFIG_U_QE) += qe/ 94obj-y += mailbox/ 95obj-y += memory/ 96obj-y += pwm/ 97obj-y += reset/ 98obj-y += input/ 99# SOC specific infrastructure drivers. 100obj-y += soc/ 101obj-$(CONFIG_REMOTEPROC) += remoteproc/ 102obj-y += thermal/ 103 104obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ 105endif 106