blob: c32cde04e16a5cd7e973146956962da31474b6bb [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
12ifdef CONFIG_SPL_INIT_MINIMAL
13MINIMAL=y
14endif
15endif
16
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090017extra-y = start.o resetvec.o
Scott Wood7c810902012-09-20 16:35:21 -050018
19ifdef MINIMAL
20
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090021obj-y += cpu_init_early.o tlb.o spl_minimal.o
Scott Wood7c810902012-09-20 16:35:21 -050022
23else
24
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090025obj-$(CONFIG_MP) += release.o
Kumar Gala591ac072009-09-02 09:00:50 -050026
Marek Vasutac918722016-07-05 17:40:27 +020027ifndef CONFIG_SPL_BUILD
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090028obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
Marek Vasutac918722016-07-05 17:40:27 +020029endif
Kumar Gala124b0822008-08-26 15:01:29 -050030
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090031obj-$(CONFIG_OF_LIBFDT) += fdt.o
32obj-$(CONFIG_FSL_CORENET) += liodn.o
33obj-$(CONFIG_MP) += mp.o
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090034obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
Kumar Gala38449a42009-09-10 03:02:13 -050035
36# various SoC specific assignments
York Sun5786fca2016-11-18 11:15:21 -080037obj-$(CONFIG_ARCH_P2041) += p2041_ids.o
York Sundf70d062016-11-18 11:20:40 -080038obj-$(CONFIG_ARCH_P3041) += p3041_ids.o
York Sun84be8a92016-11-18 11:24:40 -080039obj-$(CONFIG_ARCH_P4080) += p4080_ids.o
York Suna3c5b662016-11-18 11:39:36 -080040obj-$(CONFIG_ARCH_P5040) += p5040_ids.o
York Sun0fad3262016-11-21 13:35:41 -080041obj-$(CONFIG_ARCH_T4240) += t4240_ids.o
York Sunfda566d2016-11-18 11:56:57 -080042obj-$(CONFIG_ARCH_B4420) += b4860_ids.o
York Sun68eaa9a2016-11-18 11:44:43 -080043obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
York Suna5b5d882016-11-18 13:11:12 -080044obj-$(CONFIG_ARCH_T1040) += t1040_ids.o
York Sun2d7b2d42016-11-18 13:36:39 -080045obj-$(CONFIG_ARCH_T1042) += t1040_ids.o
York Sun7d29dd62016-11-18 13:01:34 -080046obj-$(CONFIG_ARCH_T1024) += t1024_ids.o
York Sune20c6852016-11-21 12:54:19 -080047obj-$(CONFIG_ARCH_T2080) += t2080_ids.o
Priyanka Jain94dce8b2013-10-18 12:30:21 +053048
Kumar Gala38449a42009-09-10 03:02:13 -050049
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090050obj-$(CONFIG_QE) += qe_io.o
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090051obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
52obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
Kumar Galae5f2ef72010-12-15 04:07:55 -060053
54# SoC specific SERDES support
York Sun4119aee2016-11-15 18:44:22 -080055obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o
York Sun5557d6b2016-11-16 11:06:47 -080056obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
York Sun5ac012a2016-11-15 13:57:15 -080057obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
York Sunefc49e02016-11-15 13:52:34 -080058obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
York Sun24f88b32016-11-16 13:08:52 -080059obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
York Sun3680e592016-11-16 15:54:15 -080060obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o
York Sunaf2dc812016-11-18 10:02:14 -080061obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
York Sun2f924be2016-11-18 10:59:02 -080062obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o
York Sunfeeaae22016-11-16 15:45:31 -080063obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
York Sun76780b22016-11-18 11:00:57 -080064obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o
York Sun0f577972016-11-18 11:05:38 -080065obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o
York Sun4b08dd72016-11-18 11:08:43 -080066obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
York Sun5786fca2016-11-18 11:15:21 -080067obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o
York Sundf70d062016-11-18 11:20:40 -080068obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o
York Sun84be8a92016-11-18 11:24:40 -080069obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o
York Suna3c5b662016-11-18 11:39:36 -080070obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o
York Sun0fad3262016-11-21 13:35:41 -080071obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
York Sunfda566d2016-11-18 11:56:57 -080072obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o
York Sun68eaa9a2016-11-18 11:44:43 -080073obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
York Suna80bdf72016-11-15 14:09:50 -080074obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o
York Suna5b5d882016-11-18 13:11:12 -080075obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o
York Sun2d7b2d42016-11-18 13:36:39 -080076obj-$(CONFIG_ARCH_T1042) += t1040_serdes.o
York Sun7d29dd62016-11-18 13:01:34 -080077obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o
York Sune20c6852016-11-21 12:54:19 -080078obj-$(CONFIG_ARCH_T2080) += t2080_serdes.o
Kumar Gala591ac072009-09-02 09:00:50 -050079
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090080obj-y += cpu.o
81obj-y += cpu_init.o
82obj-y += cpu_init_early.o
83obj-y += interrupts.o
York Sun51e91e82016-11-18 12:29:51 -080084ifneq ($(CONFIG_ARCH_QEMU_E500),y)
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090085obj-y += speed.o
Alexander Grafc3468482014-04-11 17:09:45 +020086endif
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090087obj-y += tlb.o
88obj-y += traps.o
wdenk9c53f402003-10-15 23:53:47 +000089
Scott Wood7c810902012-09-20 16:35:21 -050090endif # not minimal