blob: a34014f305f633954e9a5fac337e77e8084737cb [file] [log] [blame]
wdenk9c53f402003-10-15 23:53:47 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
wdenk9c53f402003-10-15 23:53:47 +00005# (C) Copyright 2002,2003 Motorola Inc.
6# Xianghua Xiao,X.Xiao@motorola.com
7#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
wdenk9c53f402003-10-15 23:53:47 +00009#
10
Scott Wood7c810902012-09-20 16:35:21 -050011MINIMAL=
12
13ifdef CONFIG_SPL_BUILD
14ifdef CONFIG_SPL_INIT_MINIMAL
15MINIMAL=y
16endif
17endif
18
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090019extra-y = start.o resetvec.o
Scott Wood7c810902012-09-20 16:35:21 -050020
21ifdef MINIMAL
22
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090023obj-y += cpu_init_early.o tlb.o spl_minimal.o
Scott Wood7c810902012-09-20 16:35:21 -050024
25else
26
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090027obj-$(CONFIG_MP) += release.o
Kumar Gala591ac072009-09-02 09:00:50 -050028
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090029obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
30obj-$(CONFIG_CPM2) += commproc.o
Kumar Gala124b0822008-08-26 15:01:29 -050031
Kumar Galad5a1fb92008-08-26 21:34:55 -050032# supports ddr1
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090033obj-$(CONFIG_MPC8540) += ddr-gen1.o
34obj-$(CONFIG_MPC8560) += ddr-gen1.o
35obj-$(CONFIG_MPC8541) += ddr-gen1.o
36obj-$(CONFIG_MPC8555) += ddr-gen1.o
Kumar Galad5a1fb92008-08-26 21:34:55 -050037
38# supports ddr1/2
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090039obj-$(CONFIG_MPC8548) += ddr-gen2.o
40obj-$(CONFIG_MPC8568) += ddr-gen2.o
41obj-$(CONFIG_MPC8544) += ddr-gen2.o
Kumar Galad5a1fb92008-08-26 21:34:55 -050042
43# supports ddr1/2/3
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090044obj-$(CONFIG_PPC_C29X) += ddr-gen3.o
45obj-$(CONFIG_MPC8572) += ddr-gen3.o
46obj-$(CONFIG_MPC8536) += ddr-gen3.o
47obj-$(CONFIG_MPC8569) += ddr-gen3.o
48obj-$(CONFIG_P1010) += ddr-gen3.o
49obj-$(CONFIG_P1011) += ddr-gen3.o
50obj-$(CONFIG_P1012) += ddr-gen3.o
51obj-$(CONFIG_P1013) += ddr-gen3.o
52obj-$(CONFIG_P1014) += ddr-gen3.o
53obj-$(CONFIG_P1020) += ddr-gen3.o
54obj-$(CONFIG_P1021) += ddr-gen3.o
55obj-$(CONFIG_P1022) += ddr-gen3.o
56obj-$(CONFIG_P1023) += ddr-gen3.o
57obj-$(CONFIG_P1024) += ddr-gen3.o
58obj-$(CONFIG_P1025) += ddr-gen3.o
59obj-$(CONFIG_P2010) += ddr-gen3.o
60obj-$(CONFIG_P2020) += ddr-gen3.o
61obj-$(CONFIG_PPC_P2041) += ddr-gen3.o
62obj-$(CONFIG_PPC_P3041) += ddr-gen3.o
63obj-$(CONFIG_PPC_P4080) += ddr-gen3.o
64obj-$(CONFIG_PPC_P5020) += ddr-gen3.o
65obj-$(CONFIG_PPC_P5040) += ddr-gen3.o
66obj-$(CONFIG_PPC_T4240) += ddr-gen3.o
67obj-$(CONFIG_PPC_T4160) += ddr-gen3.o
68obj-$(CONFIG_PPC_B4420) += ddr-gen3.o
69obj-$(CONFIG_PPC_B4860) += ddr-gen3.o
70obj-$(CONFIG_BSC9131) += ddr-gen3.o
71obj-$(CONFIG_BSC9132) += ddr-gen3.o
72obj-$(CONFIG_PPC_T1040) += ddr-gen3.o
Priyanka Jain94dce8b2013-10-18 12:30:21 +053073obj-$(CONFIG_PPC_T1042) += ddr-gen3.o
74obj-$(CONFIG_PPC_T1020) += ddr-gen3.o
75obj-$(CONFIG_PPC_T1022) += ddr-gen3.o
Kumar Gala124b0822008-08-26 15:01:29 -050076
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090077obj-$(CONFIG_CPM2) += ether_fcc.o
78obj-$(CONFIG_OF_LIBFDT) += fdt.o
79obj-$(CONFIG_FSL_CORENET) += liodn.o
80obj-$(CONFIG_MP) += mp.o
81obj-$(CONFIG_PCI) += pci.o
82obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
Kumar Gala38449a42009-09-10 03:02:13 -050083
84# various SoC specific assignments
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090085obj-$(CONFIG_PPC_P2041) += p2041_ids.o
86obj-$(CONFIG_PPC_P3041) += p3041_ids.o
87obj-$(CONFIG_PPC_P4080) += p4080_ids.o
88obj-$(CONFIG_PPC_P5020) += p5020_ids.o
89obj-$(CONFIG_PPC_P5040) += p5040_ids.o
90obj-$(CONFIG_PPC_T4240) += t4240_ids.o
91obj-$(CONFIG_PPC_T4160) += t4240_ids.o
92obj-$(CONFIG_PPC_B4420) += b4860_ids.o
93obj-$(CONFIG_PPC_B4860) += b4860_ids.o
94obj-$(CONFIG_PPC_T1040) += t1040_ids.o
Priyanka Jain94dce8b2013-10-18 12:30:21 +053095obj-$(CONFIG_PPC_T1042) += t1040_ids.o
96obj-$(CONFIG_PPC_T1020) += t1040_ids.o
97obj-$(CONFIG_PPC_T1022) += t1040_ids.o
98
Kumar Gala38449a42009-09-10 03:02:13 -050099
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +0900100obj-$(CONFIG_QE) += qe_io.o
101obj-$(CONFIG_CPM2) += serial_scc.o
102obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
103obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
Kumar Galae5f2ef72010-12-15 04:07:55 -0600104
105# SoC specific SERDES support
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +0900106obj-$(CONFIG_PPC_C29X) += c29x_serdes.o
107obj-$(CONFIG_MPC8536) += mpc8536_serdes.o
108obj-$(CONFIG_MPC8544) += mpc8544_serdes.o
109obj-$(CONFIG_MPC8548) += mpc8548_serdes.o
110obj-$(CONFIG_MPC8568) += mpc8568_serdes.o
111obj-$(CONFIG_MPC8569) += mpc8569_serdes.o
112obj-$(CONFIG_MPC8572) += mpc8572_serdes.o
113obj-$(CONFIG_P1010) += p1010_serdes.o
114obj-$(CONFIG_P1011) += p1021_serdes.o
115obj-$(CONFIG_P1012) += p1021_serdes.o
116obj-$(CONFIG_P1013) += p1022_serdes.o
117obj-$(CONFIG_P1014) += p1010_serdes.o
118obj-$(CONFIG_P1017) += p1023_serdes.o
119obj-$(CONFIG_P1020) += p1021_serdes.o
120obj-$(CONFIG_P1021) += p1021_serdes.o
121obj-$(CONFIG_P1022) += p1022_serdes.o
122obj-$(CONFIG_P1023) += p1023_serdes.o
123obj-$(CONFIG_P1024) += p1021_serdes.o
124obj-$(CONFIG_P1025) += p1021_serdes.o
125obj-$(CONFIG_P2010) += p2020_serdes.o
126obj-$(CONFIG_P2020) += p2020_serdes.o
127obj-$(CONFIG_PPC_P2041) += p2041_serdes.o
128obj-$(CONFIG_PPC_P3041) += p3041_serdes.o
129obj-$(CONFIG_PPC_P4080) += p4080_serdes.o
130obj-$(CONFIG_PPC_P5020) += p5020_serdes.o
131obj-$(CONFIG_PPC_P5040) += p5040_serdes.o
132obj-$(CONFIG_PPC_T4240) += t4240_serdes.o
133obj-$(CONFIG_PPC_T4160) += t4240_serdes.o
134obj-$(CONFIG_PPC_B4420) += b4860_serdes.o
135obj-$(CONFIG_PPC_B4860) += b4860_serdes.o
136obj-$(CONFIG_BSC9132) += bsc9132_serdes.o
137obj-$(CONFIG_PPC_T1040) += t1040_serdes.o
Priyanka Jain94dce8b2013-10-18 12:30:21 +0530138obj-$(CONFIG_PPC_T1042) += t1040_serdes.o
139obj-$(CONFIG_PPC_T1020) += t1040_serdes.o
140obj-$(CONFIG_PPC_T1022) += t1040_serdes.o
Kumar Gala591ac072009-09-02 09:00:50 -0500141
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +0900142obj-y += cpu.o
143obj-y += cpu_init.o
144obj-y += cpu_init_early.o
145obj-y += interrupts.o
146obj-y += speed.o
147obj-y += tlb.o
148obj-y += traps.o
wdenk9c53f402003-10-15 23:53:47 +0000149
Marek Vasut594f17e2012-05-25 16:14:46 +0200150# Stub implementations of cache management functions for USB
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +0900151obj-y += cache.o
Scott Wood94db8d62012-09-25 18:17:45 -0500152
Scott Wood7c810902012-09-20 16:35:21 -0500153endif # not minimal