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