2018-05-06 17:58:06 -04:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2015-11-10 01:06:16 +00:00
|
|
|
|
2017-07-04 11:29:55 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DM) += core/
|
2019-01-17 13:43:03 -06:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
|
2018-11-15 18:43:55 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)GPIO_SUPPORT) += gpio/
|
2017-07-04 11:29:55 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
|
2018-11-15 18:43:55 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
|
2017-07-04 11:29:55 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)LED) += led/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
|
2018-08-16 17:30:07 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/raw/
|
2018-11-15 18:43:55 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PCH_SUPPORT) += pch/
|
2018-12-06 15:40:08 +05:30
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
|
2017-07-04 11:29:55 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
|
2018-11-15 18:43:55 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RTC_SUPPORT) += rtc/
|
2017-07-04 11:29:55 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SERIAL_SUPPORT) += serial/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/
|
2017-07-28 17:38:42 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
|
2018-10-15 02:21:00 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
|
2018-08-27 15:57:49 +05:30
|
|
|
obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
|
2018-08-27 15:57:53 +05:30
|
|
|
obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
|
2018-11-15 18:43:55 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
|
2015-08-12 07:31:45 +09:00
|
|
|
|
2017-07-04 11:29:55 +02:00
|
|
|
ifndef CONFIG_TPL_BUILD
|
2015-08-12 07:31:44 +09:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
|
2018-05-02 16:10:50 +02:00
|
|
|
obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
|
2017-01-16 07:03:29 -07:00
|
|
|
obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
|
2016-06-09 19:18:44 -07:00
|
|
|
obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
|
2015-12-21 13:56:33 +01:00
|
|
|
obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
|
|
|
|
obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
|
2018-11-20 10:19:57 +00:00
|
|
|
obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
|
2018-07-27 10:20:37 +08:00
|
|
|
obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
|
2018-06-14 18:45:19 +08:00
|
|
|
obj-$(CONFIG_SPL_DM_RESET) += reset/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
|
|
|
|
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
|
2016-07-12 20:28:12 +02:00
|
|
|
obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
|
|
|
|
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
|
|
|
|
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
|
2018-02-16 21:17:44 +05:30
|
|
|
obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
|
2019-01-10 15:44:13 +01:00
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
|
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
|
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
|
|
|
|
obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
|
|
|
|
obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
|
2017-06-14 21:28:27 -06:00
|
|
|
obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
|
2018-12-05 08:23:38 -05:00
|
|
|
obj-$(CONFIG_HAVE_BLOCK_DEVICE) += block/
|
2017-07-26 13:05:41 +08:00
|
|
|
obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/
|
2017-11-14 16:12:31 +05:30
|
|
|
obj-$(CONFIG_SPL_THERMAL) += thermal/
|
2017-07-04 11:29:55 +02:00
|
|
|
|
|
|
|
endif
|
2016-09-12 23:18:25 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_TPL_BUILD
|
|
|
|
|
|
|
|
obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
|
|
|
|
|
|
|
|
endif
|
2015-08-12 07:31:44 +09:00
|
|
|
|
2016-09-12 23:18:25 -06:00
|
|
|
ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
|
2015-08-12 07:31:44 +09:00
|
|
|
|
2015-10-27 13:08:00 +01:00
|
|
|
obj-y += adc/
|
2017-06-14 21:28:26 -06:00
|
|
|
obj-y += ata/
|
2014-09-18 15:43:41 +09:00
|
|
|
obj-$(CONFIG_DM_DEMO) += demo/
|
2013-11-11 14:35:51 +09:00
|
|
|
obj-$(CONFIG_BIOSEMU) += bios_emulator/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += block/
|
2018-07-31 11:44:11 +02:00
|
|
|
obj-y += board/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
|
2015-04-28 20:25:09 -06:00
|
|
|
obj-$(CONFIG_CPU) += cpu/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += crypto/
|
2018-05-29 15:30:41 +00:00
|
|
|
obj-$(CONFIG_FASTBOOT) += fastboot/
|
2017-04-14 11:10:24 +09:00
|
|
|
obj-y += firmware/
|
2013-11-11 14:35:51 +09:00
|
|
|
obj-$(CONFIG_FPGA) += fpga/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += misc/
|
2017-05-09 20:31:40 +09:00
|
|
|
obj-$(CONFIG_MMC) += mmc/
|
2017-08-03 02:30:57 -07:00
|
|
|
obj-$(CONFIG_NVME) += nvme/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += pcmcia/
|
2019-02-16 20:24:49 -07:00
|
|
|
obj-y += dfu/
|
|
|
|
obj-$(CONFIG_PCH) += pch/
|
2018-05-07 13:03:26 +05:30
|
|
|
obj-y += phy/allwinner/
|
2016-05-23 11:12:05 +02:00
|
|
|
obj-y += phy/marvell/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += rtc/
|
2017-06-14 21:28:27 -06:00
|
|
|
obj-y += scsi/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += sound/
|
2016-03-31 23:12:27 +02:00
|
|
|
obj-y += spmi/
|
2016-08-07 08:53:00 +03:00
|
|
|
obj-y += sysreset/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += video/
|
|
|
|
obj-y += watchdog/
|
2013-11-11 14:35:57 +09:00
|
|
|
obj-$(CONFIG_QE) += qe/
|
2014-09-25 13:52:25 +08:00
|
|
|
obj-$(CONFIG_U_QE) += qe/
|
2016-05-13 15:50:29 -06:00
|
|
|
obj-y += mailbox/
|
2014-06-07 05:10:49 +03:00
|
|
|
obj-y += memory/
|
2014-07-18 06:07:19 +02:00
|
|
|
obj-y += pwm/
|
2016-06-17 09:43:58 -06:00
|
|
|
obj-y += reset/
|
2014-09-18 15:43:41 +09:00
|
|
|
obj-y += input/
|
2014-10-22 17:18:21 +03:00
|
|
|
# SOC specific infrastructure drivers.
|
2018-07-02 02:57:55 +03:00
|
|
|
obj-y += smem/
|
2014-10-22 17:18:21 +03:00
|
|
|
obj-y += soc/
|
2014-11-20 21:14:13 +08:00
|
|
|
obj-y += thermal/
|
2018-09-25 16:40:09 +02:00
|
|
|
obj-$(CONFIG_TEE) += tee/
|
2018-08-09 14:51:16 +02:00
|
|
|
obj-y += axi/
|
2018-09-18 10:35:24 +03:00
|
|
|
obj-$(CONFIG_W1) += w1/
|
2018-09-18 10:35:27 +03:00
|
|
|
obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
|
2015-08-12 07:31:44 +09:00
|
|
|
|
2016-01-28 15:30:15 +05:30
|
|
|
obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
|
2018-11-27 13:49:50 +01:00
|
|
|
obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
|
2015-08-12 07:31:44 +09:00
|
|
|
endif
|