blob: db36e53f1c79e29c83d50e444f17394539ae18e6 [file] [log] [blame]
Kim Phillips53b34982007-08-21 17:00:17 -05001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Kim Phillips53b34982007-08-21 17:00:17 -05006#
7
Prabhakar Kushwahaab4ab012013-04-16 13:27:59 +05308MINIMAL=
9
10ifdef CONFIG_SPL_BUILD
11ifdef CONFIG_SPL_INIT_MINIMAL
12MINIMAL=y
13endif
14endif
15
Masahiro Yamada350735c2014-02-04 17:24:25 +090016ifdef MINIMAL
17# necessary to create built-in.o
18obj- := __dummy__.o
19else
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090020obj-$(CONFIG_FSL_CADMUS) += cadmus.o
21obj-$(CONFIG_FSL_VIA) += cds_via.o
22obj-$(CONFIG_FMAN_ENET) += fman.o
23obj-$(CONFIG_FSL_PIXIS) += pixis.o
Matthew McClintockcd99caa2013-02-18 10:02:19 +000024ifndef CONFIG_SPL_BUILD
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090025obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o
Ying Zhang8876a512014-10-31 18:06:18 +080026obj-$(CONFIG_VID) += vid.o
Matthew McClintockcd99caa2013-02-18 10:02:19 +000027endif
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090028obj-$(CONFIG_FSL_QIXIS) += qixis.o
29obj-$(CONFIG_PQ_MDS_PIB) += pq-mds-pib.o
Matthew McClintockcd99caa2013-02-18 10:02:19 +000030ifndef CONFIG_SPL_BUILD
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090031obj-$(CONFIG_ID_EEPROM) += sys_eeprom.o
Matthew McClintockcd99caa2013-02-18 10:02:19 +000032endif
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090033obj-$(CONFIG_FSL_SGMII_RISER) += sgmii_riser.o
Shaohui Xiec6083892011-05-12 18:46:40 +080034ifndef CONFIG_RAMBOOT_PBL
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090035obj-$(CONFIG_FSL_FIXED_MMC_LOCATION) += sdhc_boot.o
Shaohui Xiec6083892011-05-12 18:46:40 +080036endif
Jon Loeliger6bcdb402008-03-19 15:02:07 -050037
Wang Dongsheng9fdaa5c2014-03-19 10:47:55 +080038obj-$(CONFIG_FSL_DIU_CH7301) += diu_ch7301.o
39
Tang Yuantian064f1262014-11-21 11:17:15 +080040ifdef CONFIG_ARM
41obj-$(CONFIG_DEEP_SLEEP) += arm_sleep.o
42else
43obj-$(CONFIG_DEEP_SLEEP) += mpc85xx_sleep.o
44endif
45
Wang Huan183aa102014-09-05 13:52:49 +080046obj-$(CONFIG_FSL_DCU_SII9022A) += dcu_sii9022a.o
47
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090048obj-$(CONFIG_MPC8541CDS) += cds_pci_ft.o
York Sun098f8a72016-11-16 11:43:49 -080049obj-$(CONFIG_TARGET_MPC8548CDS) += cds_pci_ft.o
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090050obj-$(CONFIG_MPC8555CDS) += cds_pci_ft.o
Jon Loeliger6bcdb402008-03-19 15:02:07 -050051
York Sunc731cc22016-11-16 11:09:07 -080052obj-$(CONFIG_TARGET_MPC8536DS) += ics307_clk.o
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090053obj-$(CONFIG_MPC8572DS) += ics307_clk.o
54obj-$(CONFIG_P1022DS) += ics307_clk.o
55obj-$(CONFIG_P2020DS) += ics307_clk.o
56obj-$(CONFIG_P3041DS) += ics307_clk.o
57obj-$(CONFIG_P4080DS) += ics307_clk.o
58obj-$(CONFIG_P5020DS) += ics307_clk.o
59obj-$(CONFIG_P5040DS) += ics307_clk.o
60obj-$(CONFIG_VSC_CROSSBAR) += vsc3316_3308.o
61obj-$(CONFIG_IDT8T49N222A) += idt8t49n222a_serdes_clk.o
Shaveta Leekhaafe5b062014-04-11 14:12:39 +053062obj-$(CONFIG_ZM7300) += zm7300.o
Ye.Lia9454db2014-11-06 16:28:59 +080063obj-$(CONFIG_POWER_PFUZE100) += pfuze.o
Kim Phillips53b34982007-08-21 17:00:17 -050064
Xiubo Li03d40aa2014-11-21 17:40:59 +080065obj-$(CONFIG_LS102XA_STREAM_ID) += ls102xa_stream_id.o
66
Kumar Gala2bf3c2a2011-08-30 17:29:23 -050067# deal with common files for P-series corenet based devices
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090068obj-$(CONFIG_P2041RDB) += p_corenet/
69obj-$(CONFIG_P3041DS) += p_corenet/
70obj-$(CONFIG_P4080DS) += p_corenet/
71obj-$(CONFIG_P5020DS) += p_corenet/
72obj-$(CONFIG_P5040DS) += p_corenet/
Xiubo Li54de0652014-11-21 17:40:58 +080073
Mingkai Hu5b0df8a2015-10-26 19:47:41 +080074obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o
gaurav rana8b5ea652015-02-27 09:46:17 +053075
76ifdef CONFIG_SECURE_BOOT
gaurav rana8707d472015-04-06 13:05:33 +053077obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
gaurav rana8b5ea652015-02-27 09:46:17 +053078endif
Aneesh Bansal39d5b3b2016-01-22 16:37:26 +053079obj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
gaurav rana8b5ea652015-02-27 09:46:17 +053080
Prabhakar Kushwahaab4ab012013-04-16 13:27:59 +053081endif