2003-10-15 23:53:47 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2003-10-15 23:53:47 +00:00
|
|
|
# (C) Copyright 2002,2003 Motorola Inc.
|
|
|
|
# Xianghua Xiao,X.Xiao@motorola.com
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2003-10-15 23:53:47 +00:00
|
|
|
#
|
|
|
|
|
2012-09-20 21:35:21 +00:00
|
|
|
MINIMAL=
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
|
|
MINIMAL=y
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
extra-y = start.o resetvec.o
|
2012-09-20 21:35:21 +00:00
|
|
|
|
|
|
|
ifdef MINIMAL
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += cpu_init_early.o tlb.o spl_minimal.o
|
2012-09-20 21:35:21 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_MP) += release.o
|
2009-09-02 14:00:50 +00:00
|
|
|
|
2016-07-05 15:40:27 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
|
2016-07-05 15:40:27 +00:00
|
|
|
endif
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_CPM2) += commproc.o
|
2008-08-26 20:01:29 +00:00
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_CPM2) += ether_fcc.o
|
|
|
|
obj-$(CONFIG_OF_LIBFDT) += fdt.o
|
|
|
|
obj-$(CONFIG_FSL_CORENET) += liodn.o
|
|
|
|
obj-$(CONFIG_MP) += mp.o
|
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
|
2009-09-10 08:02:13 +00:00
|
|
|
|
|
|
|
# various SoC specific assignments
|
2016-11-18 19:15:21 +00:00
|
|
|
obj-$(CONFIG_ARCH_P2041) += p2041_ids.o
|
2016-11-18 19:20:40 +00:00
|
|
|
obj-$(CONFIG_ARCH_P3041) += p3041_ids.o
|
2016-11-18 19:24:40 +00:00
|
|
|
obj-$(CONFIG_ARCH_P4080) += p4080_ids.o
|
2016-11-18 19:30:56 +00:00
|
|
|
obj-$(CONFIG_ARCH_P5020) += p5020_ids.o
|
2016-11-18 19:39:36 +00:00
|
|
|
obj-$(CONFIG_ARCH_P5040) += p5040_ids.o
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_PPC_T4240) += t4240_ids.o
|
|
|
|
obj-$(CONFIG_PPC_T4160) += t4240_ids.o
|
2014-04-25 08:31:22 +00:00
|
|
|
obj-$(CONFIG_PPC_T4080) += t4240_ids.o
|
2016-11-18 19:56:57 +00:00
|
|
|
obj-$(CONFIG_ARCH_B4420) += b4860_ids.o
|
2016-11-18 19:44:43 +00:00
|
|
|
obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_PPC_T1040) += t1040_ids.o
|
2013-10-18 07:00:21 +00:00
|
|
|
obj-$(CONFIG_PPC_T1042) += t1040_ids.o
|
|
|
|
obj-$(CONFIG_PPC_T1020) += t1040_ids.o
|
|
|
|
obj-$(CONFIG_PPC_T1022) += t1040_ids.o
|
2014-11-24 09:11:54 +00:00
|
|
|
obj-$(CONFIG_PPC_T1023) += t1024_ids.o
|
|
|
|
obj-$(CONFIG_PPC_T1024) += t1024_ids.o
|
2013-11-22 09:39:10 +00:00
|
|
|
obj-$(CONFIG_PPC_T2080) += t2080_ids.o
|
|
|
|
obj-$(CONFIG_PPC_T2081) += t2080_ids.o
|
2013-10-18 07:00:21 +00:00
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_QE) += qe_io.o
|
|
|
|
obj-$(CONFIG_CPM2) += serial_scc.o
|
|
|
|
obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
|
|
|
|
obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
|
2010-12-15 10:07:55 +00:00
|
|
|
|
|
|
|
# SoC specific SERDES support
|
2016-11-16 02:44:22 +00:00
|
|
|
obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o
|
2016-11-16 19:06:47 +00:00
|
|
|
obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
|
2016-11-15 21:57:15 +00:00
|
|
|
obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
|
2016-11-15 21:52:34 +00:00
|
|
|
obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
|
2016-11-16 19:32:17 +00:00
|
|
|
obj-$(CONFIG_ARCH_MPC8568) += mpc8568_serdes.o
|
2016-11-16 19:34:52 +00:00
|
|
|
obj-$(CONFIG_ARCH_MPC8569) += mpc8569_serdes.o
|
2016-11-16 19:39:20 +00:00
|
|
|
obj-$(CONFIG_ARCH_MPC8572) += mpc8572_serdes.o
|
2016-11-16 21:08:52 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
|
2016-11-16 23:54:15 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o
|
2016-11-18 18:02:14 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
|
2016-11-18 18:59:02 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o
|
2016-11-16 23:23:52 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1022) += p1022_serdes.o
|
2016-11-16 23:45:31 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
|
2016-11-18 19:00:57 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o
|
2016-11-18 19:05:38 +00:00
|
|
|
obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o
|
2016-11-18 19:08:43 +00:00
|
|
|
obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
|
2016-11-18 19:15:21 +00:00
|
|
|
obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o
|
2016-11-18 19:20:40 +00:00
|
|
|
obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o
|
2016-11-18 19:24:40 +00:00
|
|
|
obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o
|
2016-11-18 19:30:56 +00:00
|
|
|
obj-$(CONFIG_ARCH_P5020) += p5020_serdes.o
|
2016-11-18 19:39:36 +00:00
|
|
|
obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_PPC_T4240) += t4240_serdes.o
|
|
|
|
obj-$(CONFIG_PPC_T4160) += t4240_serdes.o
|
2014-04-25 08:31:22 +00:00
|
|
|
obj-$(CONFIG_PPC_T4080) += t4240_serdes.o
|
2016-11-18 19:56:57 +00:00
|
|
|
obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o
|
2016-11-18 19:44:43 +00:00
|
|
|
obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
|
2016-11-15 22:09:50 +00:00
|
|
|
obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-$(CONFIG_PPC_T1040) += t1040_serdes.o
|
2013-10-18 07:00:21 +00:00
|
|
|
obj-$(CONFIG_PPC_T1042) += t1040_serdes.o
|
|
|
|
obj-$(CONFIG_PPC_T1020) += t1040_serdes.o
|
|
|
|
obj-$(CONFIG_PPC_T1022) += t1040_serdes.o
|
2014-11-24 09:11:54 +00:00
|
|
|
obj-$(CONFIG_PPC_T1023) += t1024_serdes.o
|
|
|
|
obj-$(CONFIG_PPC_T1024) += t1024_serdes.o
|
2013-11-22 09:39:10 +00:00
|
|
|
obj-$(CONFIG_PPC_T2080) += t2080_serdes.o
|
|
|
|
obj-$(CONFIG_PPC_T2081) += t2080_serdes.o
|
2013-10-17 08:35:04 +00:00
|
|
|
|
|
|
|
obj-y += cpu.o
|
|
|
|
obj-y += cpu_init.o
|
|
|
|
obj-y += cpu_init_early.o
|
|
|
|
obj-y += interrupts.o
|
2016-11-18 20:29:51 +00:00
|
|
|
ifneq ($(CONFIG_ARCH_QEMU_E500),y)
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += speed.o
|
2014-04-11 15:09:45 +00:00
|
|
|
endif
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += tlb.o
|
|
|
|
obj-y += traps.o
|
2003-10-15 23:53:47 +00:00
|
|
|
|
2012-09-20 21:35:21 +00:00
|
|
|
endif # not minimal
|