1# SPDX-License-Identifier: GPL-2.0+ 2 3obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ 4obj-$(CONFIG_$(SPL_TPL_)DM) += core/ 5obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/ 6obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/ 7obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/ 8obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/ 9obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/ 10obj-$(CONFIG_$(SPL_TPL_)LED) += led/ 11obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/ 12obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/raw/ 13obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/ 14obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/ 15obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/ 16obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/ 17obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/ 18obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/ 19obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/ 20obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/ 21obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/ 22obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ 23obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/ 24obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ 25obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ 26obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/ 27 28ifndef CONFIG_TPL_BUILD 29ifdef CONFIG_SPL_BUILD 30 31obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/ 32obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/ 33obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/ 34obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ 35obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/ 36obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/ 37obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/ 38obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/ 39obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/ 40obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ 41obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ 42obj-$(CONFIG_SPL_DM_RESET) += reset/ 43obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ 44obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ 45obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ 46obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ 47obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ 48obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ 49obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ 50obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ 51obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/ 52obj-$(CONFIG_SPL_USB_GADGET) += usb/common/ 53obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/ 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-$(CONFIG_X86) += pch/ 90obj-y += phy/allwinner/ 91obj-y += phy/marvell/ 92obj-y += rtc/ 93obj-y += scsi/ 94obj-y += sound/ 95obj-y += spmi/ 96obj-y += sysreset/ 97obj-y += video/ 98obj-y += watchdog/ 99obj-$(CONFIG_QE) += qe/ 100obj-$(CONFIG_U_QE) += qe/ 101obj-y += mailbox/ 102obj-y += memory/ 103obj-y += pwm/ 104obj-y += reset/ 105obj-y += input/ 106# SOC specific infrastructure drivers. 107obj-y += smem/ 108obj-y += soc/ 109obj-y += thermal/ 110obj-$(CONFIG_TEE) += tee/ 111obj-y += axi/ 112obj-$(CONFIG_W1) += w1/ 113obj-$(CONFIG_W1_EEPROM) += w1-eeprom/ 114 115obj-$(CONFIG_MACH_PIC32) += ddr/microchip/ 116obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/ 117endif 118