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