xref: /openbmc/u-boot/board/freescale/common/Makefile (revision 70ad375e)
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
26endif
27obj-$(CONFIG_FSL_QIXIS)	+= qixis.o
28obj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
29ifndef CONFIG_SPL_BUILD
30obj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
31endif
32obj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
33ifndef CONFIG_RAMBOOT_PBL
34obj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
35endif
36
37obj-$(CONFIG_MPC8541CDS)	+= cds_pci_ft.o
38obj-$(CONFIG_MPC8548CDS)	+= cds_pci_ft.o
39obj-$(CONFIG_MPC8555CDS)	+= cds_pci_ft.o
40
41obj-$(CONFIG_MPC8536DS)	+= ics307_clk.o
42obj-$(CONFIG_MPC8572DS)	+= ics307_clk.o
43obj-$(CONFIG_P1022DS)		+= ics307_clk.o
44obj-$(CONFIG_P2020DS)		+= ics307_clk.o
45obj-$(CONFIG_P3041DS)		+= ics307_clk.o
46obj-$(CONFIG_P4080DS)		+= ics307_clk.o
47obj-$(CONFIG_P5020DS)		+= ics307_clk.o
48obj-$(CONFIG_P5040DS)		+= ics307_clk.o
49obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
50obj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
51
52# deal with common files for P-series corenet based devices
53obj-$(CONFIG_P2041RDB)	+= p_corenet/
54obj-$(CONFIG_P3041DS)	+= p_corenet/
55obj-$(CONFIG_P4080DS)	+= p_corenet/
56obj-$(CONFIG_P5020DS)	+= p_corenet/
57obj-$(CONFIG_P5040DS)	+= p_corenet/
58endif
59