xref: /openbmc/u-boot/arch/powerpc/cpu/mpc83xx/Makefile (revision 2752a453)
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
30obj-$(CONFIG_QE) += qe_io.o
31obj-$(CONFIG_FSL_SERDES) += serdes.o
32obj-$(CONFIG_PCI) += pci.o
33obj-$(CONFIG_PCIE) += pcie.o
34obj-$(CONFIG_OF_LIBFDT) += fdt.o
35
36ifndef CONFIG_SYS_FSL_DDRC_GEN2
37obj-y += spd_sdram.o
38endif
39obj-$(CONFIG_SYS_FSL_DDR2) += law.o
40
41endif # not minimal
42