Poonam Aggrwal | 987862c | 2009-08-05 13:29:24 +0530 | [diff] [blame] | 1 | # |
2 | # Copyright 2009 Freescale Semiconductor, Inc. | ||||
3 | # | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Poonam Aggrwal | 987862c | 2009-08-05 13:29:24 +0530 | [diff] [blame] | 5 | # |
6 | |||||
Prabhakar Kushwaha | a30a9de | 2014-05-15 16:43:12 +0530 | [diff] [blame] | 7 | MINIMAL= |
8 | |||||
9 | ifdef CONFIG_SPL_BUILD | ||||
10 | ifdef CONFIG_SPL_INIT_MINIMAL | ||||
11 | MINIMAL=y | ||||
12 | endif | ||||
13 | endif | ||||
14 | |||||
15 | ifdef MINIMAL | ||||
16 | |||||
17 | obj-y += spl_minimal.o tlb.o law.o | ||||
18 | |||||
19 | else | ||||
20 | ifdef CONFIG_SPL_BUILD | ||||
21 | obj-y += spl.o | ||||
22 | else | ||||
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 23 | obj-y += p1_p2_rdb.o |
Prabhakar Kushwaha | a30a9de | 2014-05-15 16:43:12 +0530 | [diff] [blame] | 24 | obj-$(CONFIG_PCI) += pci.o |
25 | endif | ||||
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 26 | obj-y += ddr.o |
27 | obj-y += law.o | ||||
Masahiro Yamada | c54b77e | 2013-10-21 11:53:38 +0900 | [diff] [blame] | 28 | obj-y += tlb.o |
Prabhakar Kushwaha | a30a9de | 2014-05-15 16:43:12 +0530 | [diff] [blame] | 29 | |
30 | endif |