2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2015-11-10 01:06:16 +00:00
|
|
|
|
2023-07-16 03:38:38 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BIOSEMU) += bios_emulator/
|
2022-10-21 00:22:57 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BLK) += block/
|
2021-08-08 18:20:18 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BOOTCOUNT_LIMIT) += bootcount/
|
2020-07-24 16:19:45 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
|
2019-10-11 05:48:33 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
|
2017-07-04 09:29:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DM) += core/
|
2021-08-08 18:20:22 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DMA) += dma/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DMA_LEGACY) += dma/
|
2019-01-17 19:43:03 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
|
2023-04-25 07:57:20 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)EXTCON) += extcon/
|
2021-07-11 03:14:30 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/
|
2021-07-11 03:14:31 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/
|
2019-07-16 19:29:32 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
|
2021-07-11 03:14:36 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)I2C) += i2c/
|
2018-11-16 01:43:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
|
2017-07-04 09:29:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)LED) += led/
|
2021-08-08 18:20:09 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)MMC) += mmc/
|
2019-10-25 17:39:31 +00:00
|
|
|
obj-y += mtd/
|
2021-08-08 18:20:31 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)ETH) += net/
|
2021-08-08 18:20:10 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PCH) += pch/
|
2018-12-06 10:10:08 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PCI) += pci/
|
2017-07-04 09:29:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PHY) += phy/
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)PINCTRL) += pinctrl/
|
2021-08-08 18:20:29 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)POWER) += power/
|
2017-07-04 09:29:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RAM) += ram/
|
2021-08-08 18:20:11 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RTC) += rtc/
|
2021-08-08 18:20:12 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SERIAL) += serial/
|
2021-08-08 18:20:14 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SPI) += spi/
|
2017-07-28 15:38:42 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/
|
2018-10-15 09:21:00 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)VIRTIO) += virtio/
|
2018-08-27 10:27:49 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/
|
2018-08-27 10:27:53 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
|
2020-11-05 13:32:05 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)SYSINFO) += sysinfo/
|
2018-11-16 01:43:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
|
2023-06-03 14:02:55 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)NVME) += nvme/
|
2020-08-06 09:42:48 +00:00
|
|
|
obj-$(CONFIG_XEN) += xen/
|
2020-09-09 12:41:56 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)FPGA) += fpga/
|
2022-11-14 12:42:37 +00:00
|
|
|
obj-y += bus/
|
2015-08-11 22:31:45 +00:00
|
|
|
|
2017-07-04 09:29:55 +00:00
|
|
|
ifndef CONFIG_TPL_BUILD
|
2022-04-30 06:56:52 +00:00
|
|
|
ifndef CONFIG_VPL_BUILD
|
2015-08-11 22:31:44 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
|
2021-03-15 05:11:18 +00:00
|
|
|
obj-$(CONFIG_SPL_CPU) += cpu/
|
2021-07-11 03:14:25 +00:00
|
|
|
obj-$(CONFIG_SPL_CRYPTO) += crypto/
|
2021-08-08 18:20:16 +00:00
|
|
|
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/
|
2015-12-21 12:56:33 +00:00
|
|
|
obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
|
|
|
|
obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
|
2019-05-06 01:55:59 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)ALTERA_SDRAM) += ddr/altera/
|
2018-11-20 10:19:57 +00:00
|
|
|
obj-$(CONFIG_ARCH_IMX8M) += ddr/imx/imx8m/
|
2021-08-07 08:01:11 +00:00
|
|
|
obj-$(CONFIG_IMX8ULP_DRAM) += ddr/imx/imx8ulp/
|
2022-07-26 08:41:07 +00:00
|
|
|
obj-$(CONFIG_ARCH_IMX9) += ddr/imx/imx9/
|
2018-06-14 10:45:19 +00:00
|
|
|
obj-$(CONFIG_SPL_DM_RESET) += reset/
|
2021-07-11 03:14:27 +00:00
|
|
|
obj-$(CONFIG_SPL_MUSB_NEW) += usb/musb-new/
|
2019-01-10 14:44:13 +00:00
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/
|
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += usb/common/
|
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += usb/gadget/udc/
|
2021-07-11 03:14:28 +00:00
|
|
|
obj-$(CONFIG_SPL_WATCHDOG) += watchdog/
|
2021-07-11 03:14:29 +00:00
|
|
|
obj-$(CONFIG_SPL_USB_HOST) += usb/host/
|
2021-08-08 18:20:17 +00:00
|
|
|
obj-$(CONFIG_SPL_SATA) += ata/ scsi/
|
2022-08-12 01:34:48 +00:00
|
|
|
obj-$(CONFIG_SPL_LEGACY_BLOCK) += block/
|
2017-11-14 10:42:31 +00:00
|
|
|
obj-$(CONFIG_SPL_THERMAL) += thermal/
|
2023-04-20 12:11:01 +00:00
|
|
|
obj-$(CONFIG_SPL_VIDEO) +=video/
|
2017-07-04 09:29:55 +00:00
|
|
|
|
2022-04-30 06:56:52 +00:00
|
|
|
endif
|
2017-07-04 09:29:55 +00:00
|
|
|
endif
|
2016-09-13 05:18:25 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_TPL_BUILD
|
|
|
|
|
2021-08-08 18:20:16 +00:00
|
|
|
obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/
|
2016-09-13 05:18:25 +00:00
|
|
|
|
|
|
|
endif
|
2015-08-11 22:31:44 +00:00
|
|
|
|
2016-09-13 05:18:25 +00:00
|
|
|
ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
|
2015-08-11 22:31:44 +00:00
|
|
|
|
2015-10-27 12:08:00 +00:00
|
|
|
obj-y += adc/
|
2017-06-15 03:28:26 +00:00
|
|
|
obj-y += ata/
|
2014-09-18 06:43:41 +00:00
|
|
|
obj-$(CONFIG_DM_DEMO) += demo/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += block/
|
2019-04-23 21:55:03 +00:00
|
|
|
obj-y += cache/
|
2015-04-29 02:25:09 +00:00
|
|
|
obj-$(CONFIG_CPU) += cpu/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += crypto/
|
2018-05-29 15:30:41 +00:00
|
|
|
obj-$(CONFIG_FASTBOOT) += fastboot/
|
2022-10-21 12:46:03 +00:00
|
|
|
obj-$(CONFIG_FWU_MDATA) += fwu-mdata/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += misc/
|
2017-05-09 11:31:40 +00:00
|
|
|
obj-$(CONFIG_MMC) += mmc/
|
2023-02-22 16:33:49 +00:00
|
|
|
obj-$(CONFIG_MULTIPLEXER) += mux/
|
2017-08-03 09:30:57 +00:00
|
|
|
obj-$(CONFIG_NVME) += nvme/
|
2019-04-27 08:15:21 +00:00
|
|
|
obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
|
2019-02-17 03:24:49 +00:00
|
|
|
obj-y += dfu/
|
|
|
|
obj-$(CONFIG_PCH) += pch/
|
2021-06-10 13:56:43 +00:00
|
|
|
obj-$(CONFIG_DM_REBOOT_MODE) += reboot-mode/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += rtc/
|
2017-06-15 03:28:27 +00:00
|
|
|
obj-y += scsi/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += sound/
|
2016-03-31 21:12:27 +00:00
|
|
|
obj-y += spmi/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += video/
|
|
|
|
obj-y += watchdog/
|
2013-11-11 05:35:57 +00:00
|
|
|
obj-$(CONFIG_QE) += qe/
|
2014-09-25 05:52:25 +00:00
|
|
|
obj-$(CONFIG_U_QE) += qe/
|
2016-05-13 21:50:29 +00:00
|
|
|
obj-y += mailbox/
|
2014-06-07 02:10:49 +00:00
|
|
|
obj-y += memory/
|
2022-10-25 10:51:05 +00:00
|
|
|
obj-y += mfd/
|
2019-10-25 17:39:31 +00:00
|
|
|
obj-y += mtd/
|
2014-07-18 04:07:19 +00:00
|
|
|
obj-y += pwm/
|
2016-06-17 15:43:58 +00:00
|
|
|
obj-y += reset/
|
2014-09-18 06:43:41 +00:00
|
|
|
obj-y += input/
|
2021-10-23 14:58:01 +00:00
|
|
|
obj-y += iommu/
|
2014-10-22 14:18:21 +00:00
|
|
|
# SOC specific infrastructure drivers.
|
2018-07-01 23:57:55 +00:00
|
|
|
obj-y += smem/
|
2014-11-20 13:14:13 +00:00
|
|
|
obj-y += thermal/
|
2018-09-25 14:40:09 +00:00
|
|
|
obj-$(CONFIG_TEE) += tee/
|
2023-08-04 13:33:40 +00:00
|
|
|
obj-$(CONFIG_ARM_FFA_TRANSPORT) += firmware/arm-ffa/
|
2018-08-09 12:51:16 +00:00
|
|
|
obj-y += axi/
|
2019-10-15 12:54:36 +00:00
|
|
|
obj-y += ufs/
|
2018-09-18 07:35:24 +00:00
|
|
|
obj-$(CONFIG_W1) += w1/
|
2018-09-18 07:35:27 +00:00
|
|
|
obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
|
2015-08-11 22:31:44 +00:00
|
|
|
|
2016-01-28 10:00:15 +00:00
|
|
|
obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
|
2022-05-30 10:00:08 +00:00
|
|
|
obj-$(CONFIG_FUZZ) += fuzz/
|
2018-11-27 12:49:50 +00:00
|
|
|
obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
|
2019-12-28 18:28:27 +00:00
|
|
|
obj-$(CONFIG_DM_RNG) += rng/
|
2015-08-11 22:31:44 +00:00
|
|
|
endif
|
2020-02-04 05:39:48 +00:00
|
|
|
|
|
|
|
obj-y += soc/
|