blob: 87d8b184c9959ac16267007db2484814ec866eb3 [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
Marek Vasut12c67d72016-07-05 17:40:27 +020029ifndef CONFIG_SPL_BUILD
Masahiro Yamada06c14112013-10-17 17:35:04 +090030obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
Marek Vasut12c67d72016-07-05 17:40:27 +020031endif
Masahiro Yamada06c14112013-10-17 17:35:04 +090032obj-$(CONFIG_CPM2) += commproc.o
Kumar Gala58e5e9a2008-08-26 15:01:29 -050033
Masahiro Yamada06c14112013-10-17 17:35:04 +090034obj-$(CONFIG_CPM2) += ether_fcc.o
35obj-$(CONFIG_OF_LIBFDT) += fdt.o
36obj-$(CONFIG_FSL_CORENET) += liodn.o
37obj-$(CONFIG_MP) += mp.o
38obj-$(CONFIG_PCI) += pci.o
39obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
Kumar Galadb977ab2009-09-10 03:02:13 -050040
41# various SoC specific assignments
York Sunce040c82016-11-18 11:15:21 -080042obj-$(CONFIG_ARCH_P2041) += p2041_ids.o
York Sun5e5fdd22016-11-18 11:20:40 -080043obj-$(CONFIG_ARCH_P3041) += p3041_ids.o
York Sune71372c2016-11-18 11:24:40 -080044obj-$(CONFIG_ARCH_P4080) += p4080_ids.o
York Suncefe11c2016-11-18 11:30:56 -080045obj-$(CONFIG_ARCH_P5020) += p5020_ids.o
York Sun95390362016-11-18 11:39:36 -080046obj-$(CONFIG_ARCH_P5040) += p5040_ids.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090047obj-$(CONFIG_PPC_T4240) += t4240_ids.o
48obj-$(CONFIG_PPC_T4160) += t4240_ids.o
Shengzhou Liu5122dfa2014-04-25 16:31:22 +080049obj-$(CONFIG_PPC_T4080) += t4240_ids.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090050obj-$(CONFIG_PPC_B4420) += b4860_ids.o
York Sun3006ebc2016-11-18 11:44:43 -080051obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090052obj-$(CONFIG_PPC_T1040) += t1040_ids.o
Priyanka Jain2967af62013-10-18 12:30:21 +053053obj-$(CONFIG_PPC_T1042) += t1040_ids.o
54obj-$(CONFIG_PPC_T1020) += t1040_ids.o
55obj-$(CONFIG_PPC_T1022) += t1040_ids.o
Shengzhou Liuf6050792014-11-24 17:11:54 +080056obj-$(CONFIG_PPC_T1023) += t1024_ids.o
57obj-$(CONFIG_PPC_T1024) += t1024_ids.o
Shengzhou Liu629d6b32013-11-22 17:39:10 +080058obj-$(CONFIG_PPC_T2080) += t2080_ids.o
59obj-$(CONFIG_PPC_T2081) += t2080_ids.o
Priyanka Jain2967af62013-10-18 12:30:21 +053060
Kumar Galadb977ab2009-09-10 03:02:13 -050061
Masahiro Yamada06c14112013-10-17 17:35:04 +090062obj-$(CONFIG_QE) += qe_io.o
63obj-$(CONFIG_CPM2) += serial_scc.o
64obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
65obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
Kumar Galac5780a62010-12-15 04:07:55 -060066
67# SoC specific SERDES support
York Sun4fd64742016-11-15 18:44:22 -080068obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o
York Sun24ad75a2016-11-16 11:06:47 -080069obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
York Sun25cb74b2016-11-15 13:57:15 -080070obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
York Sun281ed4c2016-11-15 13:52:34 -080071obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
York Sund07c3842016-11-16 11:32:17 -080072obj-$(CONFIG_ARCH_MPC8568) += mpc8568_serdes.o
York Sun23b36a72016-11-16 11:34:52 -080073obj-$(CONFIG_ARCH_MPC8569) += mpc8569_serdes.o
York Sunc8f48472016-11-16 11:39:20 -080074obj-$(CONFIG_ARCH_MPC8572) += mpc8572_serdes.o
York Sun7d5f9f82016-11-16 13:08:52 -080075obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
York Sun1cdd96f2016-11-16 15:54:15 -080076obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o
York Sun484fff62016-11-18 10:02:14 -080077obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
York Suna9907992016-11-18 10:59:02 -080078obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o
York Sunfeb9e252016-11-16 15:23:52 -080079obj-$(CONFIG_ARCH_P1022) += p1022_serdes.o
York Sun9bb1d6b2016-11-16 15:45:31 -080080obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
York Sun52b6f132016-11-18 11:00:57 -080081obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o
York Sun4167a672016-11-18 11:05:38 -080082obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o
York Sun45936372016-11-18 11:08:43 -080083obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
York Sunce040c82016-11-18 11:15:21 -080084obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o
York Sun5e5fdd22016-11-18 11:20:40 -080085obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o
York Sune71372c2016-11-18 11:24:40 -080086obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o
York Suncefe11c2016-11-18 11:30:56 -080087obj-$(CONFIG_ARCH_P5020) += p5020_serdes.o
York Sun95390362016-11-18 11:39:36 -080088obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090089obj-$(CONFIG_PPC_T4240) += t4240_serdes.o
90obj-$(CONFIG_PPC_T4160) += t4240_serdes.o
Shengzhou Liu5122dfa2014-04-25 16:31:22 +080091obj-$(CONFIG_PPC_T4080) += t4240_serdes.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090092obj-$(CONFIG_PPC_B4420) += b4860_serdes.o
York Sun3006ebc2016-11-18 11:44:43 -080093obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
York Sun115d60c2016-11-15 14:09:50 -080094obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090095obj-$(CONFIG_PPC_T1040) += t1040_serdes.o
Priyanka Jain2967af62013-10-18 12:30:21 +053096obj-$(CONFIG_PPC_T1042) += t1040_serdes.o
97obj-$(CONFIG_PPC_T1020) += t1040_serdes.o
98obj-$(CONFIG_PPC_T1022) += t1040_serdes.o
Shengzhou Liuf6050792014-11-24 17:11:54 +080099obj-$(CONFIG_PPC_T1023) += t1024_serdes.o
100obj-$(CONFIG_PPC_T1024) += t1024_serdes.o
Shengzhou Liu629d6b32013-11-22 17:39:10 +0800101obj-$(CONFIG_PPC_T2080) += t2080_serdes.o
102obj-$(CONFIG_PPC_T2081) += t2080_serdes.o
Kumar Gala5052a772009-09-02 09:00:50 -0500103
Masahiro Yamada06c14112013-10-17 17:35:04 +0900104obj-y += cpu.o
105obj-y += cpu_init.o
106obj-y += cpu_init_early.o
107obj-y += interrupts.o
Alexander Graffa08d392014-04-11 17:09:45 +0200108ifneq ($(CONFIG_QEMU_E500),y)
Masahiro Yamada06c14112013-10-17 17:35:04 +0900109obj-y += speed.o
Alexander Graffa08d392014-04-11 17:09:45 +0200110endif
Masahiro Yamada06c14112013-10-17 17:35:04 +0900111obj-y += tlb.o
112obj-y += traps.o
wdenk42d1f032003-10-15 23:53:47 +0000113
Scott Wood4b919722012-09-20 16:35:21 -0500114endif # not minimal