blob: a5821277ef7be0536cf6b16ba81c5063ed373235 [file] [log] [blame]
Timur Tabic59e1b42010-06-14 15:28:24 -05001#
2# Copyright 2010 Freescale Semiconductor, Inc.
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Timur Tabic59e1b42010-06-14 15:28:24 -05005#
6
Matthew McClintockf45210d2013-02-18 10:02:19 +00007MINIMAL=
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
Matthew McClintockf45210d2013-02-18 10:02:19 +000018
19else
Ying Zhang7c8eea52013-08-16 15:16:12 +080020ifdef CONFIG_SPL_BUILD
Masahiro Yamada377e1042013-10-21 11:53:38 +090021obj-y += spl.o
Ying Zhang7c8eea52013-08-16 15:16:12 +080022endif
Masahiro Yamada377e1042013-10-21 11:53:38 +090023obj-y += p1022ds.o
24obj-y += ddr.o
25obj-y += law.o
26obj-y += tlb.o
Timur Tabic59e1b42010-06-14 15:28:24 -050027
Masahiro Yamada377e1042013-10-21 11:53:38 +090028obj-$(CONFIG_FSL_DIU_FB) += diu.o
Matthew McClintockf45210d2013-02-18 10:02:19 +000029endif