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