1 # SPDX-License-Identifier: GPL-2.0+
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # (C) Copyright 2002,2003 Motorola Inc.
7 # Xianghua Xiao,X.Xiao@motorola.com
11 ifdef CONFIG_SPL_BUILD
12 ifdef CONFIG_SPL_INIT_MINIMAL
17 extra-y = start.o resetvec.o
21 obj-y += cpu_init_early.o tlb.o spl_minimal.o
25 obj-$(CONFIG_MP) += release.o
27 ifndef CONFIG_SPL_BUILD
28 obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
30 obj-$(CONFIG_CPM2) += commproc.o
32 obj-$(CONFIG_CPM2) += ether_fcc.o
33 obj-$(CONFIG_OF_LIBFDT) += fdt.o
34 obj-$(CONFIG_FSL_CORENET) += liodn.o
35 obj-$(CONFIG_MP) += mp.o
36 obj-$(CONFIG_PCI) += pci.o
37 obj-$(CONFIG_SYS_DPAA_QBMAN) += portals.o
39 # various SoC specific assignments
40 obj-$(CONFIG_ARCH_P2041) += p2041_ids.o
41 obj-$(CONFIG_ARCH_P3041) += p3041_ids.o
42 obj-$(CONFIG_ARCH_P4080) += p4080_ids.o
43 obj-$(CONFIG_ARCH_P5020) += p5020_ids.o
44 obj-$(CONFIG_ARCH_P5040) += p5040_ids.o
45 obj-$(CONFIG_ARCH_T4240) += t4240_ids.o
46 obj-$(CONFIG_ARCH_T4160) += t4240_ids.o
47 obj-$(CONFIG_ARCH_B4420) += b4860_ids.o
48 obj-$(CONFIG_ARCH_B4860) += b4860_ids.o
49 obj-$(CONFIG_ARCH_T1040) += t1040_ids.o
50 obj-$(CONFIG_ARCH_T1042) += t1040_ids.o
51 obj-$(CONFIG_ARCH_T1023) += t1024_ids.o
52 obj-$(CONFIG_ARCH_T1024) += t1024_ids.o
53 obj-$(CONFIG_ARCH_T2080) += t2080_ids.o
54 obj-$(CONFIG_ARCH_T2081) += t2080_ids.o
57 obj-$(CONFIG_QE) += qe_io.o
58 obj-$(CONFIG_CPM2) += serial_scc.o
59 obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
60 obj-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
62 # SoC specific SERDES support
63 obj-$(CONFIG_ARCH_C29X) += c29x_serdes.o
64 obj-$(CONFIG_ARCH_MPC8536) += mpc8536_serdes.o
65 obj-$(CONFIG_ARCH_MPC8544) += mpc8544_serdes.o
66 obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o
67 obj-$(CONFIG_ARCH_MPC8568) += mpc8568_serdes.o
68 obj-$(CONFIG_ARCH_MPC8572) += mpc8572_serdes.o
69 obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o
70 obj-$(CONFIG_ARCH_P1011) += p1021_serdes.o
71 obj-$(CONFIG_ARCH_P1020) += p1021_serdes.o
72 obj-$(CONFIG_ARCH_P1021) += p1021_serdes.o
73 obj-$(CONFIG_ARCH_P1022) += p1022_serdes.o
74 obj-$(CONFIG_ARCH_P1023) += p1023_serdes.o
75 obj-$(CONFIG_ARCH_P1024) += p1021_serdes.o
76 obj-$(CONFIG_ARCH_P1025) += p1021_serdes.o
77 obj-$(CONFIG_ARCH_P2020) += p2020_serdes.o
78 obj-$(CONFIG_ARCH_P2041) += p2041_serdes.o
79 obj-$(CONFIG_ARCH_P3041) += p3041_serdes.o
80 obj-$(CONFIG_ARCH_P4080) += p4080_serdes.o
81 obj-$(CONFIG_ARCH_P5020) += p5020_serdes.o
82 obj-$(CONFIG_ARCH_P5040) += p5040_serdes.o
83 obj-$(CONFIG_ARCH_T4240) += t4240_serdes.o
84 obj-$(CONFIG_ARCH_T4160) += t4240_serdes.o
85 obj-$(CONFIG_ARCH_B4420) += b4860_serdes.o
86 obj-$(CONFIG_ARCH_B4860) += b4860_serdes.o
87 obj-$(CONFIG_ARCH_BSC9132) += bsc9132_serdes.o
88 obj-$(CONFIG_ARCH_T1040) += t1040_serdes.o
89 obj-$(CONFIG_ARCH_T1042) += t1040_serdes.o
90 obj-$(CONFIG_ARCH_T1023) += t1024_serdes.o
91 obj-$(CONFIG_ARCH_T1024) += t1024_serdes.o
92 obj-$(CONFIG_ARCH_T2080) += t2080_serdes.o
93 obj-$(CONFIG_ARCH_T2081) += t2080_serdes.o
97 obj-y += cpu_init_early.o
99 ifneq ($(CONFIG_ARCH_QEMU_E500),y)