Merge tag 'xilinx-for-v2021.01' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[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 ifndef CONFIG_PINCTRL
31 obj-$(CONFIG_QE) += qe_io.o
32 endif
33 obj-$(CONFIG_FSL_SERDES) += serdes.o
34 ifndef CONFIG_ARCH_MPC8308
35 obj-$(CONFIG_PCI) += pci.o
36 endif
37 obj-$(CONFIG_PCIE) += pcie.o
38 obj-$(CONFIG_OF_LIBFDT) += fdt.o
39
40 ifndef CONFIG_SYS_FSL_DDRC_GEN2
41 obj-y += spd_sdram.o
42 endif
43 obj-$(CONFIG_SYS_FSL_DDR2) += law.o
44
45 endif # not minimal