2005-07-28 15:08:46 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
2006-10-08 22:42:01 +00:00
|
|
|
#
|
2005-07-28 15:08:46 +00:00
|
|
|
# Copyright 2004 Freescale Semiconductor, Inc.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2005-07-28 15:08:46 +00:00
|
|
|
#
|
|
|
|
|
2012-12-06 13:33:17 +00:00
|
|
|
MINIMAL=
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
|
|
MINIMAL=y
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
extra-y = start.o
|
2005-07-28 15:08:46 +00:00
|
|
|
|
2012-12-06 13:33:17 +00:00
|
|
|
ifdef MINIMAL
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += spl_minimal.o
|
2012-12-06 13:33:17 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += traps.o
|
|
|
|
obj-y += cpu.o
|
|
|
|
obj-y += cpu_init.o
|
|
|
|
obj-y += speed.o
|
|
|
|
obj-y += interrupts.o
|
|
|
|
obj-y += ecc.o
|
|
|
|
obj-$(CONFIG_QE) += qe_io.o
|
|
|
|
obj-$(CONFIG_FSL_SERDES) += serdes.o
|
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
|
|
obj-$(CONFIG_PCIE) += pcie.o
|
|
|
|
obj-$(CONFIG_OF_LIBFDT) += fdt.o
|
2008-03-24 14:40:27 +00:00
|
|
|
|
2013-12-03 21:16:59 +00:00
|
|
|
ifndef CONFIG_SYS_FSL_DDRC_GEN2
|
2013-10-17 08:35:04 +00:00
|
|
|
obj-y += spd_sdram.o
|
2011-08-26 18:32:44 +00:00
|
|
|
endif
|
2013-09-30 16:22:09 +00:00
|
|
|
obj-$(CONFIG_SYS_FSL_DDR2) += law.o
|
2011-08-26 18:32:44 +00:00
|
|
|
|
2012-12-06 13:33:17 +00:00
|
|
|
endif # not minimal
|