xref: /openbmc/u-boot/board/freescale/common/Makefile (revision c507d306)
183d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
27608d75fSKim Phillips#
37608d75fSKim Phillips# (C) Copyright 2006
47608d75fSKim Phillips# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
57608d75fSKim Phillips
63a88179dSPrabhakar KushwahaMINIMAL=
73a88179dSPrabhakar Kushwaha
83a88179dSPrabhakar Kushwahaifdef CONFIG_SPL_BUILD
93a88179dSPrabhakar Kushwahaifdef CONFIG_SPL_INIT_MINIMAL
103a88179dSPrabhakar KushwahaMINIMAL=y
113a88179dSPrabhakar Kushwahaendif
123a88179dSPrabhakar Kushwahaendif
133a88179dSPrabhakar Kushwaha
147c8278a8SMasahiro Yamadaifdef MINIMAL
157c8278a8SMasahiro Yamada# necessary to create built-in.o
167c8278a8SMasahiro Yamadaobj- := __dummy__.o
177c8278a8SMasahiro Yamadaelse
18377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_CADMUS)	+= cadmus.o
19377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_VIA)		+= cds_via.o
20377e1048SMasahiro Yamadaobj-$(CONFIG_FMAN_ENET)	+= fman.o
21377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_PIXIS)	+= pixis.o
22f45210d6SMatthew McClintockifndef CONFIG_SPL_BUILD
23377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_NGPIXIS)	+= ngpixis.o
24f45210d6SMatthew McClintockendif
251fab98fbSRajesh Bhagatobj-$(CONFIG_VID)		+= vid.o
26377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_QIXIS)	+= qixis.o
27377e1048SMasahiro Yamadaobj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
28f45210d6SMatthew McClintockifndef CONFIG_SPL_BUILD
29377e1048SMasahiro Yamadaobj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
30f45210d6SMatthew McClintockendif
31377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
32be827c7aSShaohui Xieifndef CONFIG_RAMBOOT_PBL
33377e1048SMasahiro Yamadaobj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
34be827c7aSShaohui Xieendif
3525eedb2cSJon Loeliger
36c53711bbSWang Dongshengobj-$(CONFIG_FSL_DIU_CH7301)	+= diu_ch7301.o
37c53711bbSWang Dongsheng
38a7787b78STang Yuantianifdef CONFIG_ARM
39a7787b78STang Yuantianobj-$(CONFIG_DEEP_SLEEP)		+= arm_sleep.o
40a7787b78STang Yuantianelse
41a7787b78STang Yuantianobj-$(CONFIG_DEEP_SLEEP)		+= mpc85xx_sleep.o
42a7787b78STang Yuantianendif
43a7787b78STang Yuantian
444081bf4fSWang Huanobj-$(CONFIG_FSL_DCU_SII9022A)    += dcu_sii9022a.o
454081bf4fSWang Huan
464096f350SYork Sunobj-$(CONFIG_TARGET_MPC8541CDS)	+= cds_pci_ft.o
474d08d5d9SYork Sunobj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
482f2d54b7SYork Sunobj-$(CONFIG_TARGET_MPC8555CDS)	+= cds_pci_ft.o
4925eedb2cSJon Loeliger
5030411e7cSYork Sunobj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
512fe0cd85SYork Sunobj-$(CONFIG_TARGET_MPC8572DS)	+= ics307_clk.o
52aa6e241aSYork Sunobj-$(CONFIG_TARGET_P1022DS)		+= ics307_clk.o
53377e1048SMasahiro Yamadaobj-$(CONFIG_P2020DS)		+= ics307_clk.o
54850af2c7SYork Sunobj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
55529fb062SYork Sunobj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
563b83649dSYork Sunobj-$(CONFIG_TARGET_P5020DS)		+= ics307_clk.o
57161b4724SYork Sunobj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
58377e1048SMasahiro Yamadaobj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
59377e1048SMasahiro Yamadaobj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
604150f242SShaveta Leekhaobj-$(CONFIG_ZM7300)		+= zm7300.o
615051ff5fSYe.Liobj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
62f8e450a7SPeng Fanobj-$(CONFIG_DM_PMIC_PFUZE100)	+= pfuze.o
634394ad12SHou Zhiqiangobj-$(CONFIG_POWER_MC34VR500)	+= mc34vr500.o
647608d75fSKim Phillips
65660673afSXiubo Liobj-$(CONFIG_LS102XA_STREAM_ID)	+= ls102xa_stream_id.o
66660673afSXiubo Li
67*e088e587SMeenakshi Aggarwalobj-$(CONFIG_EMC2305)              += emc2305.o
68*e088e587SMeenakshi Aggarwal
69360275b3SKumar Gala# deal with common files for P-series corenet based devices
7037107facSYork Sunobj-$(CONFIG_TARGET_P2041RDB)	+= p_corenet/
71850af2c7SYork Sunobj-$(CONFIG_TARGET_P3041DS)	+= p_corenet/
72529fb062SYork Sunobj-$(CONFIG_TARGET_P4080DS)	+= p_corenet/
733b83649dSYork Sunobj-$(CONFIG_TARGET_P5020DS)	+= p_corenet/
74161b4724SYork Sunobj-$(CONFIG_TARGET_P5040DS)	+= p_corenet/
75e87f3b30SXiubo Li
76435acd83SMingkai Huobj-$(CONFIG_LAYERSCAPE_NS_ACCESS)	+= ns_access.o
77e04916a7Sgaurav rana
78e04916a7Sgaurav ranaifdef CONFIG_SECURE_BOOT
791c29ad7bSgaurav ranaobj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
80e04916a7Sgaurav ranaendif
81d0412885SAneesh Bansalobj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
82e04916a7Sgaurav rana
833a88179dSPrabhakar Kushwahaendif
84