2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-08-21 22:00:17 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2013-04-16 07:57:59 +00:00
|
|
|
MINIMAL=
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
|
|
MINIMAL=y
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-04 08:24:25 +00:00
|
|
|
ifdef MINIMAL
|
|
|
|
# necessary to create built-in.o
|
|
|
|
obj- := __dummy__.o
|
|
|
|
else
|
2021-06-22 23:35:20 +00:00
|
|
|
# include i2c_common.o once if either VID or FSL_USE_PCA9547_MUX
|
|
|
|
I2C_COMMON=
|
|
|
|
ifdef CONFIG_VID
|
|
|
|
I2C_COMMON=y
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_FSL_USE_PCA9547_MUX
|
|
|
|
I2C_COMMON=y
|
|
|
|
endif
|
|
|
|
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_FSL_CADMUS) += cadmus.o
|
|
|
|
obj-$(CONFIG_FSL_VIA) += cds_via.o
|
|
|
|
obj-$(CONFIG_FMAN_ENET) += fman.o
|
|
|
|
obj-$(CONFIG_FSL_PIXIS) += pixis.o
|
2013-02-18 10:02:19 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o
|
2013-02-18 10:02:19 +00:00
|
|
|
endif
|
2021-06-22 23:35:20 +00:00
|
|
|
obj-$(I2C_COMMON) += i2c_common.o
|
|
|
|
obj-$(CONFIG_FSL_USE_PCA9547_MUX) += i2c_mux.o
|
2021-12-13 03:12:31 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)VID) += vid.o
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_FSL_QIXIS) += qixis.o
|
|
|
|
obj-$(CONFIG_PQ_MDS_PIB) += pq-mds-pib.o
|
2013-02-18 10:02:19 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_ID_EEPROM) += sys_eeprom.o
|
2013-02-18 10:02:19 +00:00
|
|
|
endif
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_FSL_SGMII_RISER) += sgmii_riser.o
|
2011-05-12 10:46:40 +00:00
|
|
|
ifndef CONFIG_RAMBOOT_PBL
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_FSL_FIXED_MMC_LOCATION) += sdhc_boot.o
|
2011-05-12 10:46:40 +00:00
|
|
|
endif
|
2008-03-19 20:02:07 +00:00
|
|
|
|
2014-11-21 03:17:15 +00:00
|
|
|
ifdef CONFIG_ARM
|
|
|
|
obj-$(CONFIG_DEEP_SLEEP) += arm_sleep.o
|
|
|
|
else
|
|
|
|
obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o
|
|
|
|
endif
|
|
|
|
|
2016-11-16 19:43:49 +00:00
|
|
|
obj-$(CONFIG_TARGET_MPC8548CDS) += cds_pci_ft.o
|
2013-10-21 02:53:38 +00:00
|
|
|
|
2016-11-16 19:09:07 +00:00
|
|
|
obj-$(CONFIG_TARGET_MPC8536DS) += ics307_clk.o
|
2016-11-16 23:25:52 +00:00
|
|
|
obj-$(CONFIG_TARGET_P1022DS) += ics307_clk.o
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_P2020DS) += ics307_clk.o
|
2016-11-18 19:22:17 +00:00
|
|
|
obj-$(CONFIG_TARGET_P3041DS) += ics307_clk.o
|
2016-11-18 19:26:09 +00:00
|
|
|
obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o
|
2016-11-18 19:40:51 +00:00
|
|
|
obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o
|
2013-10-21 02:53:38 +00:00
|
|
|
obj-$(CONFIG_VSC_CROSSBAR) += vsc3316_3308.o
|
2014-04-11 08:42:39 +00:00
|
|
|
obj-$(CONFIG_ZM7300) += zm7300.o
|
2014-11-06 08:28:59 +00:00
|
|
|
obj-$(CONFIG_POWER_PFUZE100) += pfuze.o
|
2018-01-02 01:32:06 +00:00
|
|
|
obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze.o
|
2016-12-09 08:08:58 +00:00
|
|
|
obj-$(CONFIG_POWER_MC34VR500) += mc34vr500.o
|
2022-04-06 06:30:25 +00:00
|
|
|
ifneq (,$(filter $(SOC), imx8ulp))
|
|
|
|
obj-y += mmc.o
|
|
|
|
endif
|
2008-01-15 19:42:41 +00:00
|
|
|
|
2014-11-21 09:40:59 +00:00
|
|
|
obj-$(CONFIG_LS102XA_STREAM_ID) += ls102xa_stream_id.o
|
|
|
|
|
2018-11-30 17:02:11 +00:00
|
|
|
obj-$(CONFIG_EMC2305) += emc2305.o
|
|
|
|
|
2011-08-30 22:29:23 +00:00
|
|
|
# deal with common files for P-series corenet based devices
|
2016-11-18 19:17:22 +00:00
|
|
|
obj-$(CONFIG_TARGET_P2041RDB) += p_corenet/
|
2016-11-18 19:22:17 +00:00
|
|
|
obj-$(CONFIG_TARGET_P3041DS) += p_corenet/
|
2016-11-18 19:26:09 +00:00
|
|
|
obj-$(CONFIG_TARGET_P4080DS) += p_corenet/
|
2016-11-18 19:32:46 +00:00
|
|
|
obj-$(CONFIG_TARGET_P5020DS) += p_corenet/
|
2016-11-18 19:40:51 +00:00
|
|
|
obj-$(CONFIG_TARGET_P5040DS) += p_corenet/
|
2014-11-21 09:40:58 +00:00
|
|
|
|
2015-10-26 11:47:41 +00:00
|
|
|
obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o
|
2015-02-27 04:16:17 +00:00
|
|
|
|
2019-11-07 16:11:32 +00:00
|
|
|
ifdef CONFIG_NXP_ESBC
|
2015-04-06 07:35:33 +00:00
|
|
|
obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
|
2015-02-27 04:16:17 +00:00
|
|
|
endif
|
2016-01-22 11:07:26 +00:00
|
|
|
obj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
|
2015-02-27 04:16:17 +00:00
|
|
|
|
2013-04-16 07:57:59 +00:00
|
|
|
endif
|