blob: b93158b9ed25490505483566f35215f3d785dfc2 [file] [log] [blame]
wdenk42d1f032003-10-15 23:53:47 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
wdenk42d1f032003-10-15 23:53:47 +00005# (C) Copyright 2002,2003 Motorola Inc.
6# Xianghua Xiao,X.Xiao@motorola.com
7#
Wolfgang Denk1a459662013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
wdenk42d1f032003-10-15 23:53:47 +00009#
10
Scott Wood4b919722012-09-20 16:35:21 -050011MINIMAL=
12
13ifdef CONFIG_SPL_BUILD
14ifdef CONFIG_SPL_INIT_MINIMAL
15MINIMAL=y
16endif
17endif
18
Masahiro Yamada06c14112013-10-17 17:35:04 +090019extra-y = start.o resetvec.o
Scott Wood4b919722012-09-20 16:35:21 -050020
21ifdef MINIMAL
22
Masahiro Yamada06c14112013-10-17 17:35:04 +090023obj-y += cpu_init_early.o tlb.o spl_minimal.o
Scott Wood4b919722012-09-20 16:35:21 -050024
25else
26
Masahiro Yamada06c14112013-10-17 17:35:04 +090027obj-$(CONFIG_MP) += release.o
Kumar Gala5052a772009-09-02 09:00:50 -050028
Masahiro Yamada06c14112013-10-17 17:35:04 +090029obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
30obj-$(CONFIG_CPM2) += commproc.o
Kumar Gala58e5e9a2008-08-26 15:01:29 -050031
Masahiro Yamada06c14112013-10-17 17:35:04 +090032obj-$(CONFIG_CPM2) += ether_fcc.o
33obj-$(CONFIG_OF_LIBFDT) += fdt.o
34obj-$(CONFIG_FSL_CORENET) += liodn.o
35obj-$(CONFIG_MP) += mp.o
36obj-$(CONFIG_PCI) += pci.o
37obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
Kumar Galadb977ab2009-09-10 03:02:13 -050038
39# various SoC specific assignments
Masahiro Yamada06c14112013-10-17 17:35:04 +090040obj-$(CONFIG_PPC_P2041) += p2041_ids.o
41obj-$(CONFIG_PPC_P3041) += p3041_ids.o
42obj-$(CONFIG_PPC_P4080) += p4080_ids.o
43obj-$(CONFIG_PPC_P5020) += p5020_ids.o
44obj-$(CONFIG_PPC_P5040) += p5040_ids.o
45obj-$(CONFIG_PPC_T4240) += t4240_ids.o
46obj-$(CONFIG_PPC_T4160) += t4240_ids.o
Shengzhou Liu5122dfa2014-04-25 16:31:22 +080047obj-$(CONFIG_PPC_T4080) += t4240_ids.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090048obj-$(CONFIG_PPC_B4420) += b4860_ids.o
49obj-$(CONFIG_PPC_B4860) += b4860_ids.o
50obj-$(CONFIG_PPC_T1040) += t1040_ids.o
Priyanka Jain2967af62013-10-18 12:30:21 +053051obj-$(CONFIG_PPC_T1042) += t1040_ids.o
52obj-$(CONFIG_PPC_T1020) += t1040_ids.o
53obj-$(CONFIG_PPC_T1022) += t1040_ids.o
Shengzhou Liuf6050792014-11-24 17:11:54 +080054obj-$(CONFIG_PPC_T1023) += t1024_ids.o
55obj-$(CONFIG_PPC_T1024) += t1024_ids.o
Shengzhou Liu629d6b32013-11-22 17:39:10 +080056obj-$(CONFIG_PPC_T2080) += t2080_ids.o
57obj-$(CONFIG_PPC_T2081) += t2080_ids.o
Priyanka Jain2967af62013-10-18 12:30:21 +053058
Kumar Galadb977ab2009-09-10 03:02:13 -050059
Masahiro Yamada06c14112013-10-17 17:35:04 +090060obj-$(CONFIG_QE) += qe_io.o
61obj-$(CONFIG_CPM2) += serial_scc.o
62obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
63obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
Kumar Galac5780a62010-12-15 04:07:55 -060064
65# SoC specific SERDES support
Masahiro Yamada06c14112013-10-17 17:35:04 +090066obj-$(CONFIG_PPC_C29X) += c29x_serdes.o
67obj-$(CONFIG_MPC8536) += mpc8536_serdes.o
68obj-$(CONFIG_MPC8544) += mpc8544_serdes.o
69obj-$(CONFIG_MPC8548) += mpc8548_serdes.o
70obj-$(CONFIG_MPC8568) += mpc8568_serdes.o
71obj-$(CONFIG_MPC8569) += mpc8569_serdes.o
72obj-$(CONFIG_MPC8572) += mpc8572_serdes.o
73obj-$(CONFIG_P1010) += p1010_serdes.o
74obj-$(CONFIG_P1011) += p1021_serdes.o
75obj-$(CONFIG_P1012) += p1021_serdes.o
76obj-$(CONFIG_P1013) += p1022_serdes.o
77obj-$(CONFIG_P1014) += p1010_serdes.o
78obj-$(CONFIG_P1017) += p1023_serdes.o
79obj-$(CONFIG_P1020) += p1021_serdes.o
80obj-$(CONFIG_P1021) += p1021_serdes.o
81obj-$(CONFIG_P1022) += p1022_serdes.o
82obj-$(CONFIG_P1023) += p1023_serdes.o
83obj-$(CONFIG_P1024) += p1021_serdes.o
84obj-$(CONFIG_P1025) += p1021_serdes.o
85obj-$(CONFIG_P2010) += p2020_serdes.o
86obj-$(CONFIG_P2020) += p2020_serdes.o
87obj-$(CONFIG_PPC_P2041) += p2041_serdes.o
88obj-$(CONFIG_PPC_P3041) += p3041_serdes.o
89obj-$(CONFIG_PPC_P4080) += p4080_serdes.o
90obj-$(CONFIG_PPC_P5020) += p5020_serdes.o
91obj-$(CONFIG_PPC_P5040) += p5040_serdes.o
92obj-$(CONFIG_PPC_T4240) += t4240_serdes.o
93obj-$(CONFIG_PPC_T4160) += t4240_serdes.o
Shengzhou Liu5122dfa2014-04-25 16:31:22 +080094obj-$(CONFIG_PPC_T4080) += t4240_serdes.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090095obj-$(CONFIG_PPC_B4420) += b4860_serdes.o
96obj-$(CONFIG_PPC_B4860) += b4860_serdes.o
97obj-$(CONFIG_BSC9132) += bsc9132_serdes.o
98obj-$(CONFIG_PPC_T1040) += t1040_serdes.o
Priyanka Jain2967af62013-10-18 12:30:21 +053099obj-$(CONFIG_PPC_T1042) += t1040_serdes.o
100obj-$(CONFIG_PPC_T1020) += t1040_serdes.o
101obj-$(CONFIG_PPC_T1022) += t1040_serdes.o
Shengzhou Liuf6050792014-11-24 17:11:54 +0800102obj-$(CONFIG_PPC_T1023) += t1024_serdes.o
103obj-$(CONFIG_PPC_T1024) += t1024_serdes.o
Shengzhou Liu629d6b32013-11-22 17:39:10 +0800104obj-$(CONFIG_PPC_T2080) += t2080_serdes.o
105obj-$(CONFIG_PPC_T2081) += t2080_serdes.o
Kumar Gala5052a772009-09-02 09:00:50 -0500106
Masahiro Yamada06c14112013-10-17 17:35:04 +0900107obj-y += cpu.o
108obj-y += cpu_init.o
109obj-y += cpu_init_early.o
110obj-y += interrupts.o
Alexander Graffa08d392014-04-11 17:09:45 +0200111ifneq ($(CONFIG_QEMU_E500),y)
Masahiro Yamada06c14112013-10-17 17:35:04 +0900112obj-y += speed.o
Alexander Graffa08d392014-04-11 17:09:45 +0200113endif
Masahiro Yamada06c14112013-10-17 17:35:04 +0900114obj-y += tlb.o
115obj-y += traps.o
wdenk42d1f032003-10-15 23:53:47 +0000116
Marek Vasut25315682012-05-25 16:14:46 +0200117# Stub implementations of cache management functions for USB
Masahiro Yamada06c14112013-10-17 17:35:04 +0900118obj-y += cache.o
Scott Wooda179eb02012-09-25 18:17:45 -0500119
Scott Wood4b919722012-09-20 16:35:21 -0500120endif # not minimal