Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net> |
| 3 | # |
| 4 | # Based on some other Makefile |
| 5 | # (C) Copyright 2000-2003 |
| 6 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 7 | # |
| 8 | # SPDX-License-Identifier: GPL-2.0+ |
| 9 | # |
| 10 | obj-y += timer.o |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 11 | obj-y += board.o |
Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 12 | obj-y += clock.o |
Ian Campbell | b2765ec | 2014-05-05 11:52:24 +0100 | [diff] [blame] | 13 | obj-y += pinmux.o |
Oliver Schinagl | 0096aa2 | 2014-10-03 20:16:24 +0800 | [diff] [blame] | 14 | obj-$(CONFIG_SUN6I) += prcm.o |
Chen-Yu Tsai | 848c263 | 2014-10-22 16:47:44 +0800 | [diff] [blame^] | 15 | obj-$(CONFIG_SUN8I) += prcm.o |
Hans de Goede | 3ab9c23 | 2014-06-09 11:36:57 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_SUN4I) += clock_sun4i.o |
Hans de Goede | 8c1c782 | 2014-06-09 11:36:58 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_SUN5I) += clock_sun4i.o |
Chen-Yu Tsai | 3a04542 | 2014-10-03 20:16:25 +0800 | [diff] [blame] | 18 | obj-$(CONFIG_SUN6I) += clock_sun6i.o |
Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 19 | obj-$(CONFIG_SUN7I) += clock_sun4i.o |
Chen-Yu Tsai | 848c263 | 2014-10-22 16:47:44 +0800 | [diff] [blame^] | 20 | obj-$(CONFIG_SUN8I) += clock_sun6i.o |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 21 | |
| 22 | ifndef CONFIG_SPL_BUILD |
| 23 | obj-y += cpu_info.o |
Marc Zyngier | 0237c63 | 2014-07-18 21:06:38 +0100 | [diff] [blame] | 24 | ifdef CONFIG_ARMV7_PSCI |
| 25 | obj-y += psci.o |
| 26 | endif |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 27 | endif |
| 28 | |
| 29 | ifdef CONFIG_SPL_BUILD |
Hans de Goede | 3ab9c23 | 2014-06-09 11:36:57 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_SUN4I) += dram.o |
Hans de Goede | 8c1c782 | 2014-06-09 11:36:58 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_SUN5I) += dram.o |
Ian Campbell | 2f1afcc | 2014-05-05 11:52:25 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_SUN7I) += dram.o |
Ian Campbell | 6efe369 | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 33 | ifdef CONFIG_SPL_FEL |
| 34 | obj-y += start.o |
| 35 | endif |
| 36 | endif |