blob: 1c53fb605b974215c64c8d06a8bf91d0a20fb0aa [file] [log] [blame]
Kim Phillips7608d752007-08-21 17:00:17 -05001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Kim Phillips7608d752007-08-21 17:00:17 -05006#
7
Prabhakar Kushwaha3a881792013-04-16 13:27:59 +05308MINIMAL=
9
10ifdef CONFIG_SPL_BUILD
11ifdef CONFIG_SPL_INIT_MINIMAL
12MINIMAL=y
13endif
14endif
15
Masahiro Yamada7c8278a2014-02-04 17:24:25 +090016ifdef MINIMAL
17# necessary to create built-in.o
18obj- := __dummy__.o
19else
Masahiro Yamada377e1042013-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 McClintockf45210d2013-02-18 10:02:19 +000024ifndef CONFIG_SPL_BUILD
Masahiro Yamada377e1042013-10-21 11:53:38 +090025obj-$(CONFIG_FSL_NGPIXIS) += ngpixis.o
Ying Zhang3ad27372014-10-31 18:06:18 +080026obj-$(CONFIG_VID) += vid.o
Matthew McClintockf45210d2013-02-18 10:02:19 +000027endif
Masahiro Yamada377e1042013-10-21 11:53:38 +090028obj-$(CONFIG_FSL_QIXIS) += qixis.o
29obj-$(CONFIG_PQ_MDS_PIB) += pq-mds-pib.o
Matthew McClintockf45210d2013-02-18 10:02:19 +000030ifndef CONFIG_SPL_BUILD
Masahiro Yamada377e1042013-10-21 11:53:38 +090031obj-$(CONFIG_ID_EEPROM) += sys_eeprom.o
Matthew McClintockf45210d2013-02-18 10:02:19 +000032endif
Masahiro Yamada377e1042013-10-21 11:53:38 +090033obj-$(CONFIG_FSL_SGMII_RISER) += sgmii_riser.o
Shaohui Xiebe827c72011-05-12 18:46:40 +080034ifndef CONFIG_RAMBOOT_PBL
Masahiro Yamada377e1042013-10-21 11:53:38 +090035obj-$(CONFIG_FSL_FIXED_MMC_LOCATION) += sdhc_boot.o
Shaohui Xiebe827c72011-05-12 18:46:40 +080036endif
Jon Loeliger25eedb22008-03-19 15:02:07 -050037
Wang Dongshengc53711b2014-03-19 10:47:55 +080038obj-$(CONFIG_FSL_DIU_CH7301) += diu_ch7301.o
39
Tang Yuantiana7787b72014-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 Huan4081bf42014-09-05 13:52:49 +080046obj-$(CONFIG_FSL_DCU_SII9022A) += dcu_sii9022a.o
47
York Sun4096f352016-11-16 11:20:42 -080048obj-$(CONFIG_TARGET_MPC8541CDS) += cds_pci_ft.o
York Sun4d08d5d2016-11-16 11:43:49 -080049obj-$(CONFIG_TARGET_MPC8548CDS) += cds_pci_ft.o
York Sun2f2d54b2016-11-16 11:24:45 -080050obj-$(CONFIG_TARGET_MPC8555CDS) += cds_pci_ft.o
Jon Loeliger25eedb22008-03-19 15:02:07 -050051
York Sun30411e72016-11-16 11:09:07 -080052obj-$(CONFIG_TARGET_MPC8536DS) += ics307_clk.o
York Sun2fe0cd82016-11-16 11:41:12 -080053obj-$(CONFIG_TARGET_MPC8572DS) += ics307_clk.o
York Sunaa6e2412016-11-16 15:25:52 -080054obj-$(CONFIG_TARGET_P1022DS) += ics307_clk.o
Masahiro Yamada377e1042013-10-21 11:53:38 +090055obj-$(CONFIG_P2020DS) += ics307_clk.o
York Sun850af2c2016-11-18 11:22:17 -080056obj-$(CONFIG_TARGET_P3041DS) += ics307_clk.o
York Sun529fb062016-11-18 11:26:09 -080057obj-$(CONFIG_TARGET_P4080DS) += ics307_clk.o
York Sun3b836492016-11-18 11:32:46 -080058obj-$(CONFIG_TARGET_P5020DS) += ics307_clk.o
York Sun161b4722016-11-18 11:40:51 -080059obj-$(CONFIG_TARGET_P5040DS) += ics307_clk.o
Masahiro Yamada377e1042013-10-21 11:53:38 +090060obj-$(CONFIG_VSC_CROSSBAR) += vsc3316_3308.o
61obj-$(CONFIG_IDT8T49N222A) += idt8t49n222a_serdes_clk.o
Shaveta Leekha4150f242014-04-11 14:12:39 +053062obj-$(CONFIG_ZM7300) += zm7300.o
Ye.Li5051ff52014-11-06 16:28:59 +080063obj-$(CONFIG_POWER_PFUZE100) += pfuze.o
Hou Zhiqiang4394ad12016-12-09 16:08:58 +080064obj-$(CONFIG_POWER_MC34VR500) += mc34vr500.o
Kim Phillips7608d752007-08-21 17:00:17 -050065
Xiubo Li660673a2014-11-21 17:40:59 +080066obj-$(CONFIG_LS102XA_STREAM_ID) += ls102xa_stream_id.o
67
Kumar Gala360275b2011-08-30 17:29:23 -050068# deal with common files for P-series corenet based devices
York Sun37107fa2016-11-18 11:17:22 -080069obj-$(CONFIG_TARGET_P2041RDB) += p_corenet/
York Sun850af2c2016-11-18 11:22:17 -080070obj-$(CONFIG_TARGET_P3041DS) += p_corenet/
York Sun529fb062016-11-18 11:26:09 -080071obj-$(CONFIG_TARGET_P4080DS) += p_corenet/
York Sun3b836492016-11-18 11:32:46 -080072obj-$(CONFIG_TARGET_P5020DS) += p_corenet/
York Sun161b4722016-11-18 11:40:51 -080073obj-$(CONFIG_TARGET_P5040DS) += p_corenet/
Xiubo Lie87f3b32014-11-21 17:40:58 +080074
Mingkai Hu435acd82015-10-26 19:47:41 +080075obj-$(CONFIG_LAYERSCAPE_NS_ACCESS) += ns_access.o
gaurav ranae04916a2015-02-27 09:46:17 +053076
77ifdef CONFIG_SECURE_BOOT
gaurav rana1c29ad72015-04-06 13:05:33 +053078obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
gaurav ranae04916a2015-02-27 09:46:17 +053079endif
Aneesh Bansald0412882016-01-22 16:37:26 +053080obj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
gaurav ranae04916a2015-02-27 09:46:17 +053081
Prabhakar Kushwaha3a881792013-04-16 13:27:59 +053082endif