mpc83xx: Introduce ARCH_MPC830*
[platform/kernel/u-boot.git] / arch / powerpc / cpu / mpc83xx / Makefile
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
8 MINIMAL=
9
10 ifdef CONFIG_SPL_BUILD
11 ifdef CONFIG_SPL_INIT_MINIMAL
12 MINIMAL=y
13 endif
14 endif
15
16 extra-y = start.o
17
18 ifdef MINIMAL
19
20 obj-y   += spl_minimal.o
21
22 else
23
24 obj-y += traps.o
25 obj-y += cpu.o
26 obj-y += cpu_init.o
27 obj-y += speed.o
28 obj-y += interrupts.o
29 obj-y += ecc.o
30 obj-$(CONFIG_QE) += qe_io.o
31 obj-$(CONFIG_FSL_SERDES) += serdes.o
32 obj-$(CONFIG_PCI) += pci.o
33 obj-$(CONFIG_PCIE) += pcie.o
34 obj-$(CONFIG_OF_LIBFDT) += fdt.o
35
36 ifndef CONFIG_SYS_FSL_DDRC_GEN2
37 obj-y += spd_sdram.o
38 endif
39 obj-$(CONFIG_SYS_FSL_DDR2) += law.o
40
41 endif # not minimal