2018-05-07 06:58:06 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2015-11-10 10:06:16 +09:00
|
|
|
|
2017-07-04 18:29:55 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DM) += core/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)LED) += led/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
|
2018-08-17 00:30:07 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += mtd/nand/raw/
|
2017-07-04 18:29:55 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
|
|
|
|
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-29 00:38:42 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
|
2018-08-27 19:27:49 +09:00
|
|
|
obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
|
2018-08-27 19:27:53 +09:00
|
|
|
obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
|
2015-08-12 07:31:45 +09:00
|
|
|
|
2017-07-04 18:29:55 +09:00
|
|
|
ifndef CONFIG_TPL_BUILD
|
2015-08-12 07:31:44 +09:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
|
2018-05-02 23:10:50 +09:00
|
|
|
obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
|
2017-01-16 23:03:29 +09:00
|
|
|
obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
|
2016-06-10 11:18:44 +09:00
|
|
|
obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
|
|
|
|
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
|
2015-12-21 21:56:33 +09: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/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
|
2018-07-27 11:20:37 +09:00
|
|
|
obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/
|
2018-06-14 19:45:19 +09: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-13 03:28:12 +09: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-17 00:47:44 +09:00
|
|
|
obj-$(CONFIG_SPL_USB_ETHER) += net/phy/
|
2017-01-16 23:03:30 +09:00
|
|
|
obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
|
2017-01-16 23:03:33 +09:00
|
|
|
obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/
|
2017-01-16 23:03:31 +09:00
|
|
|
obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
|
2015-08-12 07:31:44 +09:00
|
|
|
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
|
2016-11-22 03:58:53 +09:00
|
|
|
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/
|
|
|
|
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/
|
2016-11-22 03:58:52 +09:00
|
|
|
obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/
|
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-15 12:28:27 +09:00
|
|
|
obj-$(CONFIG_SPL_SATA_SUPPORT) += ata/ scsi/
|
2016-05-02 02:36:13 +09:00
|
|
|
obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/
|
2016-05-02 04:52:28 +09:00
|
|
|
obj-$(CONFIG_SPL_MMC_SUPPORT) += block/
|
2017-07-26 14:05:41 +09:00
|
|
|
obj-$(CONFIG_SPL_FPGA_SUPPORT) += fpga/
|
2017-11-14 19:42:31 +09:00
|
|
|
obj-$(CONFIG_SPL_THERMAL) += thermal/
|
2017-07-04 18:29:55 +09:00
|
|
|
|
|
|
|
endif
|
2016-09-13 14:18:25 +09: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-13 14:18:25 +09:00
|
|
|
ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
|
2015-08-12 07:31:44 +09:00
|
|
|
|
2015-10-27 21:08:00 +09:00
|
|
|
obj-y += adc/
|
2017-06-15 12:28:26 +09: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 18:44:11 +09:00
|
|
|
obj-y += board/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
|
2015-04-29 11:25:09 +09:00
|
|
|
obj-$(CONFIG_CPU) += cpu/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += crypto/
|
2018-05-30 00:30:41 +09: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 18:30:57 +09:00
|
|
|
obj-$(CONFIG_NVME) += nvme/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += pcmcia/
|
|
|
|
obj-y += dfu/
|
2016-01-19 12:19:17 +09:00
|
|
|
obj-$(CONFIG_X86) += pch/
|
2018-05-07 16:33:26 +09:00
|
|
|
obj-y += phy/allwinner/
|
2016-05-23 18:12:05 +09:00
|
|
|
obj-y += phy/marvell/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += rtc/
|
2017-06-15 12:28:27 +09:00
|
|
|
obj-y += scsi/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += sound/
|
2016-04-01 06:12:27 +09:00
|
|
|
obj-y += spmi/
|
2016-08-07 14:53:00 +09:00
|
|
|
obj-y += sysreset/
|
2013-10-17 20:38:52 +09:00
|
|
|
obj-y += tpm/
|
|
|
|
obj-y += video/
|
|
|
|
obj-y += watchdog/
|
2013-11-11 14:35:57 +09:00
|
|
|
obj-$(CONFIG_QE) += qe/
|
2014-09-25 14:52:25 +09:00
|
|
|
obj-$(CONFIG_U_QE) += qe/
|
2016-05-14 06:50:29 +09:00
|
|
|
obj-y += mailbox/
|
2014-06-07 11:10:49 +09:00
|
|
|
obj-y += memory/
|
2014-07-18 13:07:19 +09:00
|
|
|
obj-y += pwm/
|
2016-06-18 00:43:58 +09:00
|
|
|
obj-y += reset/
|
2014-09-18 15:43:41 +09:00
|
|
|
obj-y += input/
|
2014-10-22 23:18:21 +09:00
|
|
|
# SOC specific infrastructure drivers.
|
2018-07-02 08:57:55 +09:00
|
|
|
obj-y += smem/
|
2014-10-22 23:18:21 +09:00
|
|
|
obj-y += soc/
|
2014-11-20 22:14:13 +09:00
|
|
|
obj-y += thermal/
|
2018-09-25 23:40:09 +09:00
|
|
|
obj-$(CONFIG_TEE) += tee/
|
2018-08-09 21:51:16 +09:00
|
|
|
obj-y += axi/
|
2018-09-18 16:35:24 +09:00
|
|
|
obj-$(CONFIG_W1) += w1/
|
2018-09-18 16:35:27 +09:00
|
|
|
obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
|
2015-08-12 07:31:44 +09:00
|
|
|
|
2016-01-28 19:00:15 +09:00
|
|
|
obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
|
2015-08-12 07:31:44 +09:00
|
|
|
endif
|