1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
6# Copyright 2004 Freescale Semiconductor, Inc.
7
8MINIMAL=
9
10ifdef CONFIG_SPL_BUILD
11ifdef CONFIG_SPL_INIT_MINIMAL
12MINIMAL=y
13endif
14endif
15
16extra-y	= start.o
17
18ifdef MINIMAL
19
20obj-y	+= spl_minimal.o
21
22else
23
24obj-y += traps.o
25obj-y += cpu.o
26obj-y += cpu_init.o
27obj-y += speed.o
28obj-y += interrupts.o
29obj-y += ecc.o
30ifndef CONFIG_PINCTRL
31obj-$(CONFIG_QE) += qe_io.o
32endif
33obj-$(CONFIG_FSL_SERDES) += serdes.o
34ifndef CONFIG_ARCH_MPC8308
35obj-$(CONFIG_PCI) += pci.o
36endif
37obj-$(CONFIG_PCIE) += pcie.o
38obj-$(CONFIG_OF_LIBFDT) += fdt.o
39
40ifndef CONFIG_SYS_FSL_DDRC_GEN2
41obj-y += spd_sdram.o
42endif
43obj-$(CONFIG_SYS_FSL_DDR2) += law.o
44
45endif # not minimal
46