xref: /openbmc/u-boot/board/freescale/common/Makefile (revision b24a8ec1)
1#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8MINIMAL=
9
10ifdef CONFIG_SPL_BUILD
11ifdef CONFIG_SPL_INIT_MINIMAL
12MINIMAL=y
13endif
14endif
15
16ifdef MINIMAL
17# necessary to create built-in.o
18obj- := __dummy__.o
19else
20obj-$(CONFIG_FSL_CADMUS)	+= cadmus.o
21obj-$(CONFIG_FSL_VIA)		+= cds_via.o
22obj-$(CONFIG_FMAN_ENET)	+= fman.o
23obj-$(CONFIG_FSL_PIXIS)	+= pixis.o
24ifndef CONFIG_SPL_BUILD
25obj-$(CONFIG_FSL_NGPIXIS)	+= ngpixis.o
26obj-$(CONFIG_VID)		+= vid.o
27endif
28obj-$(CONFIG_FSL_QIXIS)	+= qixis.o
29obj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
30ifndef CONFIG_SPL_BUILD
31obj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
32endif
33obj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
34ifndef CONFIG_RAMBOOT_PBL
35obj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
36endif
37
38obj-$(CONFIG_FSL_DIU_CH7301)	+= diu_ch7301.o
39
40ifdef CONFIG_ARM
41obj-$(CONFIG_DEEP_SLEEP)		+= arm_sleep.o
42else
43obj-$(CONFIG_DEEP_SLEEP)		+= mpc85xx_sleep.o
44endif
45
46obj-$(CONFIG_FSL_DCU_SII9022A)    += dcu_sii9022a.o
47
48obj-$(CONFIG_TARGET_MPC8541CDS)	+= cds_pci_ft.o
49obj-$(CONFIG_TARGET_MPC8548CDS)	+= cds_pci_ft.o
50obj-$(CONFIG_TARGET_MPC8555CDS)	+= cds_pci_ft.o
51
52obj-$(CONFIG_TARGET_MPC8536DS)	+= ics307_clk.o
53obj-$(CONFIG_TARGET_MPC8572DS)	+= ics307_clk.o
54obj-$(CONFIG_TARGET_P1022DS)		+= ics307_clk.o
55obj-$(CONFIG_P2020DS)		+= ics307_clk.o
56obj-$(CONFIG_TARGET_P3041DS)		+= ics307_clk.o
57obj-$(CONFIG_TARGET_P4080DS)		+= ics307_clk.o
58obj-$(CONFIG_TARGET_P5020DS)		+= ics307_clk.o
59obj-$(CONFIG_TARGET_P5040DS)		+= ics307_clk.o
60obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
61obj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
62obj-$(CONFIG_ZM7300)		+= zm7300.o
63obj-$(CONFIG_POWER_PFUZE100)	+= pfuze.o
64obj-$(CONFIG_POWER_MC34VR500)	+= mc34vr500.o
65
66obj-$(CONFIG_LS102XA_STREAM_ID)	+= ls102xa_stream_id.o
67
68# deal with common files for P-series corenet based devices
69obj-$(CONFIG_TARGET_P2041RDB)	+= p_corenet/
70obj-$(CONFIG_TARGET_P3041DS)	+= p_corenet/
71obj-$(CONFIG_TARGET_P4080DS)	+= p_corenet/
72obj-$(CONFIG_TARGET_P5020DS)	+= p_corenet/
73obj-$(CONFIG_TARGET_P5040DS)	+= p_corenet/
74
75obj-$(CONFIG_LAYERSCAPE_NS_ACCESS)	+= ns_access.o
76
77ifdef CONFIG_SECURE_BOOT
78obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
79endif
80obj-$(CONFIG_CHAIN_OF_TRUST) += fsl_chain_of_trust.o
81
82endif
83