blob: 8e200736d7782294beb4c25a0ffa2441dbcef713 [file] [log] [blame]
Li Yang5f999732011-07-26 09:50:46 -05001#
2# Copyright 2010-2011 Freescale Semiconductor, Inc.
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Li Yang5f999732011-07-26 09:50:46 -05005#
6
Scott Woodc4f0d002012-09-20 19:05:12 -05007MINIMAL=
8
9ifdef CONFIG_SPL_BUILD
10ifdef CONFIG_SPL_INIT_MINIMAL
11MINIMAL=y
12endif
13endif
14
15ifdef MINIMAL
16
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090017obj-y += spl_minimal.o tlb.o law.o
Scott Woodc4f0d002012-09-20 19:05:12 -050018
19else
Ying Zhang28027d72013-09-06 17:30:56 +080020ifdef CONFIG_SPL_BUILD
21COBJS-y += spl.o
22endif
Scott Woodc4f0d002012-09-20 19:05:12 -050023
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090024obj-y += p1_p2_rdb_pc.o
25obj-y += ddr.o
26obj-y += law.o
27obj-y += tlb.o
Li Yang5f999732011-07-26 09:50:46 -050028
Scott Woodc4f0d002012-09-20 19:05:12 -050029endif