blob: 660d1bbc2aaf7671b72bbca2dc50070c937aae55 [file] [log] [blame]
Poonam Aggrwal49249e12011-02-09 19:17:53 +00001#
2# Copyright 2010-2011 Freescale Semiconductor, Inc.
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Poonam Aggrwal49249e12011-02-09 19:17:53 +00005#
6
Prabhakar Kushwaha0fa934d2013-04-16 13:28:12 +05307MINIMAL=
8
9ifdef CONFIG_SPL_BUILD
10ifdef CONFIG_SPL_INIT_MINIMAL
11MINIMAL=y
12endif
13endif
14
15ifdef MINIMAL
16
Masahiro Yamada377e1042013-10-21 11:53:38 +090017obj-y += spl_minimal.o tlb.o law.o
Prabhakar Kushwaha0fa934d2013-04-16 13:28:12 +053018
19else
20
Ying Zhangc9e1f582014-01-24 15:50:09 +080021ifdef CONFIG_SPL_BUILD
22obj-y += spl.o
23endif
24
Masahiro Yamada377e1042013-10-21 11:53:38 +090025obj-y += p1010rdb.o
26obj-y += ddr.o
27obj-y += law.o
28obj-y += tlb.o
Poonam Aggrwal49249e12011-02-09 19:17:53 +000029
Prabhakar Kushwaha0fa934d2013-04-16 13:28:12 +053030endif