blob: a93cf13628a30756d9f07d387ff65467cedf7654 [file] [log] [blame]
Eran Libertyf046ccd2005-07-28 10:08:46 -05001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Wolfgang Denk511d0c72006-10-09 00:42:01 +02004#
Eran Libertyf046ccd2005-07-28 10:08:46 -05005# Copyright 2004 Freescale Semiconductor, Inc.
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Eran Libertyf046ccd2005-07-28 10:08:46 -05008#
9
Scott Wood06f60ae2012-12-06 13:33:17 +000010MINIMAL=
11
12ifdef CONFIG_SPL_BUILD
13ifdef CONFIG_SPL_INIT_MINIMAL
14MINIMAL=y
15endif
16endif
17
Masahiro Yamada06c14112013-10-17 17:35:04 +090018extra-y = start.o
Eran Libertyf046ccd2005-07-28 10:08:46 -050019
Scott Wood06f60ae2012-12-06 13:33:17 +000020ifdef MINIMAL
21
Masahiro Yamada06c14112013-10-17 17:35:04 +090022obj-y += spl_minimal.o
Scott Wood06f60ae2012-12-06 13:33:17 +000023
24else
25
Masahiro Yamada06c14112013-10-17 17:35:04 +090026obj-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
Anton Vorontsova796cdf2008-03-24 17:40:27 +030037
York Sun1df99082013-12-03 13:16:59 -080038ifndef CONFIG_SYS_FSL_DDRC_GEN2
Masahiro Yamada06c14112013-10-17 17:35:04 +090039obj-y += spd_sdram.o
York Sund29d17d2011-08-26 11:32:44 -070040endif
York Sun5614e712013-09-30 09:22:09 -070041obj-$(CONFIG_SYS_FSL_DDR2) += law.o
York Sund29d17d2011-08-26 11:32:44 -070042
Scott Wood06f60ae2012-12-06 13:33:17 +000043endif # not minimal