xref: /openbmc/u-boot/board/freescale/common/Makefile (revision 940db16d)
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
16ifndef MINIMAL
17obj-$(CONFIG_FSL_CADMUS)	+= cadmus.o
18obj-$(CONFIG_FSL_VIA)		+= cds_via.o
19obj-$(CONFIG_FMAN_ENET)	+= fman.o
20obj-$(CONFIG_FSL_PIXIS)	+= pixis.o
21ifndef CONFIG_SPL_BUILD
22obj-$(CONFIG_FSL_NGPIXIS)	+= ngpixis.o
23endif
24obj-$(CONFIG_FSL_QIXIS)	+= qixis.o
25obj-$(CONFIG_PQ_MDS_PIB)	+= pq-mds-pib.o
26ifndef CONFIG_SPL_BUILD
27obj-$(CONFIG_ID_EEPROM)	+= sys_eeprom.o
28endif
29obj-$(CONFIG_FSL_SGMII_RISER)	+= sgmii_riser.o
30ifndef CONFIG_RAMBOOT_PBL
31obj-$(CONFIG_FSL_FIXED_MMC_LOCATION)	+= sdhc_boot.o
32endif
33
34obj-$(CONFIG_MPC8541CDS)	+= cds_pci_ft.o
35obj-$(CONFIG_MPC8548CDS)	+= cds_pci_ft.o
36obj-$(CONFIG_MPC8555CDS)	+= cds_pci_ft.o
37
38obj-$(CONFIG_MPC8536DS)	+= ics307_clk.o
39obj-$(CONFIG_MPC8572DS)	+= ics307_clk.o
40obj-$(CONFIG_P1022DS)		+= ics307_clk.o
41obj-$(CONFIG_P2020DS)		+= ics307_clk.o
42obj-$(CONFIG_P3041DS)		+= ics307_clk.o
43obj-$(CONFIG_P4080DS)		+= ics307_clk.o
44obj-$(CONFIG_P5020DS)		+= ics307_clk.o
45obj-$(CONFIG_P5040DS)		+= ics307_clk.o
46obj-$(CONFIG_VSC_CROSSBAR)    += vsc3316_3308.o
47obj-$(CONFIG_IDT8T49N222A)	+= idt8t49n222a_serdes_clk.o
48
49# deal with common files for P-series corenet based devices
50obj-$(CONFIG_P2041RDB)	+= p_corenet/
51obj-$(CONFIG_P3041DS)	+= p_corenet/
52obj-$(CONFIG_P4080DS)	+= p_corenet/
53obj-$(CONFIG_P5020DS)	+= p_corenet/
54obj-$(CONFIG_P5040DS)	+= p_corenet/
55endif
56