Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 2 | # |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 3 | # (C) Copyright 2006 |
4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
Wolfgang Denk | 4df0da5 | 2006-10-09 00:42:01 +0200 | [diff] [blame] | 5 | # |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 6 | # Copyright 2004 Freescale Semiconductor, Inc. |
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 7 | |
Scott Wood | 2b36fbb | 2012-12-06 13:33:17 +0000 | [diff] [blame] | 8 | MINIMAL= |
9 | |||||
10 | ifdef CONFIG_SPL_BUILD | ||||
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 11 | ifndef CONFIG_TPL_BUILD |
Scott Wood | 2b36fbb | 2012-12-06 13:33:17 +0000 | [diff] [blame] | 12 | ifdef CONFIG_SPL_INIT_MINIMAL |
13 | MINIMAL=y | ||||
14 | endif | ||||
15 | endif | ||||
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 16 | endif |
Scott Wood | 2b36fbb | 2012-12-06 13:33:17 +0000 | [diff] [blame] | 17 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 18 | extra-y = start.o |
Anton Vorontsov | 6e4404d | 2008-03-24 17:40:27 +0300 | [diff] [blame] | 19 | |
Scott Wood | 2b36fbb | 2012-12-06 13:33:17 +0000 | [diff] [blame] | 20 | ifdef MINIMAL |
21 | |||||
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 22 | obj-y += spl_minimal.o |
Scott Wood | 2b36fbb | 2012-12-06 13:33:17 +0000 | [diff] [blame] | 23 | |
24 | else | ||||
25 | |||||
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 26 | obj-y += traps.o |
27 | obj-y += cpu.o | ||||
28 | obj-y += cpu_init.o | ||||
29 | obj-y += speed.o | ||||
30 | obj-y += interrupts.o | ||||
Tom Rini | 468c2d5 | 2021-08-21 13:50:18 -0400 | [diff] [blame] | 31 | obj-$(CONFIG_DDR_ECC_CMD) += ecc.o |
Heiko Schocher | 3b07a13 | 2020-02-03 10:23:53 +0100 | [diff] [blame] | 32 | ifndef CONFIG_PINCTRL |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_QE) += qe_io.o |
Heiko Schocher | 3b07a13 | 2020-02-03 10:23:53 +0100 | [diff] [blame] | 34 | endif |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 35 | obj-$(CONFIG_FSL_SERDES) += serdes.o |
Mario Six | e9c932d | 2019-01-21 09:18:04 +0100 | [diff] [blame] | 36 | ifndef CONFIG_ARCH_MPC8308 |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 37 | obj-$(CONFIG_PCI) += pci.o |
Mario Six | e9c932d | 2019-01-21 09:18:04 +0100 | [diff] [blame] | 38 | endif |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 39 | obj-$(CONFIG_PCIE) += pcie.o |
40 | obj-$(CONFIG_OF_LIBFDT) += fdt.o | ||||
Eran Liberty | 9095d4a | 2005-07-28 10:08:46 -0500 | [diff] [blame] | 41 | |
York Sun | 5f65050 | 2013-12-03 13:16:59 -0800 | [diff] [blame] | 42 | ifndef CONFIG_SYS_FSL_DDRC_GEN2 |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 43 | obj-y += spd_sdram.o |
York Sun | e12ce98 | 2011-08-26 11:32:44 -0700 | [diff] [blame] | 44 | endif |
York Sun | f062659 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 45 | obj-$(CONFIG_SYS_FSL_DDR2) += law.o |
York Sun | e12ce98 | 2011-08-26 11:32:44 -0700 | [diff] [blame] | 46 | |
Scott Wood | 2b36fbb | 2012-12-06 13:33:17 +0000 | [diff] [blame] | 47 | endif # not minimal |