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