xref: /openbmc/u-boot/board/freescale/common/Makefile (revision 2f2d54b7)
17608d75fSKim Phillips#
27608d75fSKim Phillips# (C) Copyright 2006
37608d75fSKim Phillips# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
47608d75fSKim Phillips#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
67608d75fSKim Phillips#
77608d75fSKim Phillips
83a88179dSPrabhakar KushwahaMINIMAL=
93a88179dSPrabhakar Kushwaha
103a88179dSPrabhakar Kushwahaifdef CONFIG_SPL_BUILD
113a88179dSPrabhakar Kushwahaifdef CONFIG_SPL_INIT_MINIMAL
123a88179dSPrabhakar KushwahaMINIMAL=y
133a88179dSPrabhakar Kushwahaendif
143a88179dSPrabhakar Kushwahaendif
153a88179dSPrabhakar Kushwaha
167c8278a8SMasahiro Yamadaifdef MINIMAL
177c8278a8SMasahiro Yamada# necessary to create built-in.o
187c8278a8SMasahiro Yamadaobj- := __dummy__.o
197c8278a8SMasahiro Yamadaelse
20377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_CADMUS)	+= cadmus.o
21377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_VIA)		+= cds_via.o
22377e1048SMasahiro Yamadaobj-$(CONFIG_FMAN_ENET)	+= fman.o
23377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_PIXIS)	+= pixis.o
24f45210d6SMatthew McClintockifndef CONFIG_SPL_BUILD
25377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_NGPIXIS)	+= ngpixis.o
263ad2737eSYing Zhangobj-$(CONFIG_VID)		+= vid.o
27f45210d6SMatthew McClintockendif
28377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_QIXIS)	+= qixis.o
29377e1048SMasahiro Yamadaobj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
30f45210d6SMatthew McClintockifndef CONFIG_SPL_BUILD
31377e1048SMasahiro Yamadaobj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
32f45210d6SMatthew McClintockendif
33377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
34be827c7aSShaohui Xieifndef CONFIG_RAMBOOT_PBL
35377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
36be827c7aSShaohui Xieendif
3725eedb2cSJon Loeliger
38c53711bbSWang Dongshengobj-$(CONFIG_FSL_DIU_CH7301)	+= diu_ch7301.o
39c53711bbSWang Dongsheng
40a7787b78STang Yuantianifdef CONFIG_ARM
41a7787b78STang Yuantianobj-$(CONFIG_DEEP_SLEEP)		+= arm_sleep.o
42a7787b78STang Yuantianelse
43a7787b78STang Yuantianobj-$(CONFIG_DEEP_SLEEP)		+= mpc85xx_sleep.o
44a7787b78STang Yuantianendif
45a7787b78STang Yuantian
464081bf4fSWang Huanobj-$(CONFIG_FSL_DCU_SII9022A)    += dcu_sii9022a.o
474081bf4fSWang Huan
484096f350SYork Sunobj-$(CONFIG_TARGET_MPC8541CDS)	+= cds_pci_ft.o
494d08d5d9SYork Sunobj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
50*2f2d54b7SYork Sunobj-$(CONFIG_TARGET_MPC8555CDS)	+= cds_pci_ft.o
5125eedb2cSJon Loeliger
5230411e7cSYork Sunobj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
53377e1048SMasahiro Yamadaobj-$(CONFIG_MPC8572DS)	+= ics307_clk.o
54377e1048SMasahiro Yamadaobj-$(CONFIG_P1022DS)		+= ics307_clk.o
55377e1048SMasahiro Yamadaobj-$(CONFIG_P2020DS)		+= ics307_clk.o
56377e1048SMasahiro Yamadaobj-$(CONFIG_P3041DS)		+= ics307_clk.o
57377e1048SMasahiro Yamadaobj-$(CONFIG_P4080DS)		+= ics307_clk.o
58377e1048SMasahiro Yamadaobj-$(CONFIG_P5020DS)		+= ics307_clk.o
59377e1048SMasahiro Yamadaobj-$(CONFIG_P5040DS)		+= ics307_clk.o
60377e1048SMasahiro Yamadaobj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
61377e1048SMasahiro Yamadaobj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
624150f242SShaveta Leekhaobj-$(CONFIG_ZM7300)		+= zm7300.o
635051ff5fSYe.Liobj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
647608d75fSKim Phillips
65660673afSXiubo Liobj-$(CONFIG_LS102XA_STREAM_ID)	+= ls102xa_stream_id.o
66660673afSXiubo Li
67360275b3SKumar Gala# deal with common files for P-series corenet based devices
68377e1048SMasahiro Yamadaobj-$(CONFIG_P2041RDB)	+= p_corenet/
69377e1048SMasahiro Yamadaobj-$(CONFIG_P3041DS)	+= p_corenet/
70377e1048SMasahiro Yamadaobj-$(CONFIG_P4080DS)	+= p_corenet/
71377e1048SMasahiro Yamadaobj-$(CONFIG_P5020DS)	+= p_corenet/
72377e1048SMasahiro Yamadaobj-$(CONFIG_P5040DS)	+= p_corenet/
73e87f3b30SXiubo Li
74435acd83SMingkai Huobj-$(CONFIG_LAYERSCAPE_NS_ACCESS)	+= ns_access.o
75e04916a7Sgaurav rana
76e04916a7Sgaurav ranaifdef CONFIG_SECURE_BOOT
771c29ad7bSgaurav ranaobj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
78e04916a7Sgaurav ranaendif
79d0412885SAneesh Bansalobj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
80e04916a7Sgaurav rana
813a88179dSPrabhakar Kushwahaendif
82