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_SUPPORT) += 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_SPL_POWER_SUPPORT) += power/ power/pmic/ 38obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/ 39obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ 40obj-$(CONFIG_SPL_DM_RESET) += reset/ 41obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/ 42obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/ 43obj-$(CONFIG_SPL_UBI) += mtd/ubispl/ 44obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/ 45obj-$(CONFIG_SPL_ETH_SUPPORT) += net/ 46obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ 47obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ 48obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ 49obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/ 50obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/ 51obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/ 52obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/ 53obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/ 54obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ 55obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/ 56obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/ 57obj-$(CONFIG_SPL_MMC_SUPPORT) += block/ 58obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/ 59obj-$(CONFIG_SPL_THERMAL) += thermal/ 60 61endif 62endif 63 64ifdef CONFIG_TPL_BUILD 65 66obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ 67 68endif 69 70ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),) 71 72obj-y += adc/ 73obj-y += ata/ 74obj-$(CONFIG_DM_DEMO) += demo/ 75obj-$(CONFIG_BIOSEMU) += bios_emulator/ 76obj-y += block/ 77obj-y += board/ 78obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/ 79obj-$(CONFIG_CPU) += cpu/ 80obj-y += crypto/ 81obj-$(CONFIG_FASTBOOT) += fastboot/ 82obj-y += firmware/ 83obj-$(CONFIG_FPGA) += fpga/ 84obj-y += misc/ 85obj-$(CONFIG_MMC) += mmc/ 86obj-$(CONFIG_NVME) += nvme/ 87obj-y += pcmcia/ 88obj-y += dfu/ 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/ 116endif 117