blob: a00806e6aaed71f81f3d15aa6a2143d7d2e6d8bf [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Poonam Aggrwala2ec1352011-02-09 19:17:53 +00002#
3# Copyright 2010-2011 Freescale Semiconductor, Inc.
Poonam Aggrwala2ec1352011-02-09 19:17:53 +00004
Prabhakar Kushwaha66d6aa82013-04-16 13:28:12 +05305MINIMAL=
6
7ifdef CONFIG_SPL_BUILD
Tom Rini6b15c162022-05-13 12:26:35 -04008ifndef CONFIG_TPL_BUILD
Prabhakar Kushwaha66d6aa82013-04-16 13:28:12 +05309ifdef CONFIG_SPL_INIT_MINIMAL
10MINIMAL=y
11endif
12endif
Tom Rini6b15c162022-05-13 12:26:35 -040013endif
Prabhakar Kushwaha66d6aa82013-04-16 13:28:12 +053014
15ifdef MINIMAL
Robert P. J. Dayfe56a4f2016-04-13 17:49:28 -040016obj-y += spl_minimal.o
Prabhakar Kushwaha66d6aa82013-04-16 13:28:12 +053017else
Ying Zhang1233cbc2014-01-24 15:50:09 +080018ifdef CONFIG_SPL_BUILD
Robert P. J. Dayfe56a4f2016-04-13 17:49:28 -040019obj-y += spl.o
Ying Zhang1233cbc2014-01-24 15:50:09 +080020endif
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090021obj-y += p1010rdb.o
22obj-y += ddr.o
Robert P. J. Dayfe56a4f2016-04-13 17:49:28 -040023endif
24
Masahiro Yamadac54b77e2013-10-21 11:53:38 +090025obj-y += law.o
26obj-y += tlb.o