blob: 6f4ad1f9b762017706116e3eed9c7afa2e7eb03d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk42d1f032003-10-15 23:53:47 +00002#
Marian Balakowiczf9328632006-09-01 19:49:50 +02003# (C) Copyright 2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
wdenk42d1f032003-10-15 23:53:47 +00006# (C) Copyright 2002,2003 Motorola Inc.
7# Xianghua Xiao,X.Xiao@motorola.com
wdenk42d1f032003-10-15 23:53:47 +00008
Scott Wood4b919722012-09-20 16:35:21 -05009MINIMAL=
10
11ifdef CONFIG_SPL_BUILD
12ifdef CONFIG_SPL_INIT_MINIMAL
13MINIMAL=y
14endif
15endif
16
Masahiro Yamada06c14112013-10-17 17:35:04 +090017extra-y = start.o resetvec.o
Scott Wood4b919722012-09-20 16:35:21 -050018
19ifdef MINIMAL
20
Masahiro Yamada06c14112013-10-17 17:35:04 +090021obj-y += cpu_init_early.o tlb.o spl_minimal.o
Scott Wood4b919722012-09-20 16:35:21 -050022
23else
24
Masahiro Yamada06c14112013-10-17 17:35:04 +090025obj-$(CONFIG_MP) += release.o
Kumar Gala5052a772009-09-02 09:00:50 -050026
Marek Vasut12c67d72016-07-05 17:40:27 +020027ifndef CONFIG_SPL_BUILD
Masahiro Yamada06c14112013-10-17 17:35:04 +090028obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
Marek Vasut12c67d72016-07-05 17:40:27 +020029endif
Masahiro Yamada06c14112013-10-17 17:35:04 +090030obj-$(CONFIG_CPM2) += commproc.o
Kumar Gala58e5e9a2008-08-26 15:01:29 -050031
Masahiro Yamada06c14112013-10-17 17:35:04 +090032obj-$(CONFIG_OF_LIBFDT) += fdt.o
33obj-$(CONFIG_FSL_CORENET) += liodn.o
34obj-$(CONFIG_MP) += mp.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090035obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
Kumar Galadb977ab2009-09-10 03:02:13 -050036
37# various SoC specific assignments
York Sunce040c82016-11-18 11:15:21 -080038obj-$(CONFIG_ARCH_P2041) += p2041_ids.o
York Sun5e5fdd22016-11-18 11:20:40 -080039obj-$(CONFIG_ARCH_P3041) += p3041_ids.o
York Sune71372c2016-11-18 11:24:40 -080040obj-$(CONFIG_ARCH_P4080) += p4080_ids.o
York Sun95390362016-11-18 11:39:36 -080041obj-$(CONFIG_ARCH_P5040) += p5040_ids.o
York Sun26bc57d2016-11-21 13:35:41 -080042obj-$(CONFIG_ARCH_T4240) += t4240_ids.o
York Sunb41f1922016-11-18 11:56:57 -080043obj-$(CONFIG_ARCH_B4420) += b4860_ids.o
York Sun3006ebc2016-11-18 11:44:43 -080044obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
York Sun5d737012016-11-18 13:11:12 -080045obj-$(CONFIG_ARCH_T1040) += t1040_ids.o
York Sun5449c982016-11-18 13:36:39 -080046obj-$(CONFIG_ARCH_T1042) += t1040_ids.o
York Sune5d5f5a2016-11-18 13:01:34 -080047obj-$(CONFIG_ARCH_T1024) += t1024_ids.o
York Sun0f3d80e2016-11-21 12:54:19 -080048obj-$(CONFIG_ARCH_T2080) += t2080_ids.o
Priyanka Jain2967af62013-10-18 12:30:21 +053049
Kumar Galadb977ab2009-09-10 03:02:13 -050050
Masahiro Yamada06c14112013-10-17 17:35:04 +090051obj-$(CONFIG_QE) += qe_io.o
52obj-$(CONFIG_CPM2) += serial_scc.o
53obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
54obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
Kumar Galac5780a62010-12-15 04:07:55 -060055
56# SoC specific SERDES support
York Sun4fd64742016-11-15 18:44:22 -080057obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o
York Sun24ad75a2016-11-16 11:06:47 -080058obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
York Sun25cb74b2016-11-15 13:57:15 -080059obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
York Sun281ed4c2016-11-15 13:52:34 -080060obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
York Sun7d5f9f82016-11-16 13:08:52 -080061obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
York Sun1cdd96f2016-11-16 15:54:15 -080062obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o
York Sun484fff62016-11-18 10:02:14 -080063obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
York Suna9907992016-11-18 10:59:02 -080064obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o
York Sun9bb1d6b2016-11-16 15:45:31 -080065obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
York Sun52b6f132016-11-18 11:00:57 -080066obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o
York Sun4167a672016-11-18 11:05:38 -080067obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o
York Sun45936372016-11-18 11:08:43 -080068obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
York Sunce040c82016-11-18 11:15:21 -080069obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o
York Sun5e5fdd22016-11-18 11:20:40 -080070obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o
York Sune71372c2016-11-18 11:24:40 -080071obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o
York Sun95390362016-11-18 11:39:36 -080072obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o
York Sun26bc57d2016-11-21 13:35:41 -080073obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
York Sunb41f1922016-11-18 11:56:57 -080074obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o
York Sun3006ebc2016-11-18 11:44:43 -080075obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
York Sun115d60c2016-11-15 14:09:50 -080076obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o
York Sun5d737012016-11-18 13:11:12 -080077obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o
York Sun5449c982016-11-18 13:36:39 -080078obj-$(CONFIG_ARCH_T1042) += t1040_serdes.o
York Sune5d5f5a2016-11-18 13:01:34 -080079obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o
York Sun0f3d80e2016-11-21 12:54:19 -080080obj-$(CONFIG_ARCH_T2080) += t2080_serdes.o
Kumar Gala5052a772009-09-02 09:00:50 -050081
Masahiro Yamada06c14112013-10-17 17:35:04 +090082obj-y += cpu.o
83obj-y += cpu_init.o
84obj-y += cpu_init_early.o
85obj-y += interrupts.o
York Sun10343402016-11-18 12:29:51 -080086ifneq ($(CONFIG_ARCH_QEMU_E500),y)
Masahiro Yamada06c14112013-10-17 17:35:04 +090087obj-y += speed.o
Alexander Graffa08d392014-04-11 17:09:45 +020088endif
Masahiro Yamada06c14112013-10-17 17:35:04 +090089obj-y += tlb.o
90obj-y += traps.o
wdenk42d1f032003-10-15 23:53:47 +000091
Scott Wood4b919722012-09-20 16:35:21 -050092endif # not minimal