blob: f3ee7d34949c16b6c4b8f3b4334dec72fc951cb4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk9c53f402003-10-15 23:53:47 +00002#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003# (C) Copyright 2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
wdenk9c53f402003-10-15 23:53:47 +00006# (C) Copyright 2002,2003 Motorola Inc.
7# Xianghua Xiao,X.Xiao@motorola.com
wdenk9c53f402003-10-15 23:53:47 +00008
Scott Wood7c810902012-09-20 16:35:21 -05009MINIMAL=
10
11ifdef CONFIG_SPL_BUILD
Tom Rini6b15c162022-05-13 12:26:35 -040012ifndef CONFIG_TPL_BUILD
Scott Wood7c810902012-09-20 16:35:21 -050013ifdef CONFIG_SPL_INIT_MINIMAL
14MINIMAL=y
15endif
16endif
Tom Rini6b15c162022-05-13 12:26:35 -040017endif
Scott Wood7c810902012-09-20 16:35:21 -050018
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
Marek Vasutac918722016-07-05 17:40:27 +020029ifndef CONFIG_SPL_BUILD
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090030obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
Marek Vasutac918722016-07-05 17:40:27 +020031endif
Kumar Gala124b0822008-08-26 15:01:29 -050032
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090033obj-$(CONFIG_OF_LIBFDT) += fdt.o
34obj-$(CONFIG_FSL_CORENET) += liodn.o
35obj-$(CONFIG_MP) += mp.o
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090036obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
Kumar Gala38449a42009-09-10 03:02:13 -050037
38# various SoC specific assignments
York Sun5786fca2016-11-18 11:15:21 -080039obj-$(CONFIG_ARCH_P2041) += p2041_ids.o
York Sundf70d062016-11-18 11:20:40 -080040obj-$(CONFIG_ARCH_P3041) += p3041_ids.o
York Sun84be8a92016-11-18 11:24:40 -080041obj-$(CONFIG_ARCH_P4080) += p4080_ids.o
York Suna3c5b662016-11-18 11:39:36 -080042obj-$(CONFIG_ARCH_P5040) += p5040_ids.o
York Sun0fad3262016-11-21 13:35:41 -080043obj-$(CONFIG_ARCH_T4240) += t4240_ids.o
York Sunfda566d2016-11-18 11:56:57 -080044obj-$(CONFIG_ARCH_B4420) += b4860_ids.o
York Sun68eaa9a2016-11-18 11:44:43 -080045obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
York Suna5b5d882016-11-18 13:11:12 -080046obj-$(CONFIG_ARCH_T1040) += t1040_ids.o
York Sun2d7b2d42016-11-18 13:36:39 -080047obj-$(CONFIG_ARCH_T1042) += t1040_ids.o
York Sun7d29dd62016-11-18 13:01:34 -080048obj-$(CONFIG_ARCH_T1024) += t1024_ids.o
York Sune20c6852016-11-21 12:54:19 -080049obj-$(CONFIG_ARCH_T2080) += t2080_ids.o
Priyanka Jain94dce8b2013-10-18 12:30:21 +053050
Kumar Gala38449a42009-09-10 03:02:13 -050051
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090052obj-$(CONFIG_QE) += qe_io.o
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090053obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
54obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
Kumar Galae5f2ef72010-12-15 04:07:55 -060055
56# SoC specific SERDES support
York Sun4119aee2016-11-15 18:44:22 -080057obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o
York Sun5557d6b2016-11-16 11:06:47 -080058obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
York Sun5ac012a2016-11-15 13:57:15 -080059obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
York Sunefc49e02016-11-15 13:52:34 -080060obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
York Sun24f88b32016-11-16 13:08:52 -080061obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
York Sun3680e592016-11-16 15:54:15 -080062obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o
York Sunaf2dc812016-11-18 10:02:14 -080063obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
York Sun2f924be2016-11-18 10:59:02 -080064obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o
York Sunfeeaae22016-11-16 15:45:31 -080065obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
York Sun76780b22016-11-18 11:00:57 -080066obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o
York Sun0f577972016-11-18 11:05:38 -080067obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o
York Sun4b08dd72016-11-18 11:08:43 -080068obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
York Sun5786fca2016-11-18 11:15:21 -080069obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o
York Sundf70d062016-11-18 11:20:40 -080070obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o
York Sun84be8a92016-11-18 11:24:40 -080071obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o
York Suna3c5b662016-11-18 11:39:36 -080072obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o
York Sun0fad3262016-11-21 13:35:41 -080073obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
York Sunfda566d2016-11-18 11:56:57 -080074obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o
York Sun68eaa9a2016-11-18 11:44:43 -080075obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
York Suna80bdf72016-11-15 14:09:50 -080076obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o
York Suna5b5d882016-11-18 13:11:12 -080077obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o
York Sun2d7b2d42016-11-18 13:36:39 -080078obj-$(CONFIG_ARCH_T1042) += t1040_serdes.o
York Sun7d29dd62016-11-18 13:01:34 -080079obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o
York Sune20c6852016-11-21 12:54:19 -080080obj-$(CONFIG_ARCH_T2080) += t2080_serdes.o
Kumar Gala591ac072009-09-02 09:00:50 -050081
Masahiro Yamada4fbb29d2013-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 Sun51e91e82016-11-18 12:29:51 -080086ifneq ($(CONFIG_ARCH_QEMU_E500),y)
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090087obj-y += speed.o
Alexander Grafc3468482014-04-11 17:09:45 +020088endif
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090089obj-y += tlb.o
90obj-y += traps.o
wdenk9c53f402003-10-15 23:53:47 +000091
Scott Wood7c810902012-09-20 16:35:21 -050092endif # not minimal