blob: 4d2274a38ed1d35da37043822be5ed4e58198595 [file] [log] [blame]
Ian Campbell49aeca32014-05-05 11:52:23 +01001#
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#
10obj-y += timer.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020011
Chen-Yu Tsaifcc7b702015-08-25 10:49:19 +080012obj-$(CONFIG_MACH_SUN6I) += tzpc.o
Chen-Yu Tsai0932b632016-01-06 15:13:06 +080013obj-$(CONFIG_MACH_SUN8I_H3) += tzpc.o
Ian Campbell6efe3692014-05-05 11:52:26 +010014
15ifndef CONFIG_SPL_BUILD
Marc Zyngier0237c632014-07-18 21:06:38 +010016ifdef CONFIG_ARMV7_PSCI
Chen-Yu Tsai4670eb42015-05-28 21:25:31 +080017obj-$(CONFIG_MACH_SUN6I) += psci_sun6i.o
Chen-Yu Tsaid196fad2015-05-28 21:25:30 +080018obj-$(CONFIG_MACH_SUN7I) += psci_sun7i.o
Chen-Yu Tsai5b9f1aa2015-05-28 21:25:33 +080019obj-$(CONFIG_MACH_SUN8I) += psci_sun6i.o
Marc Zyngier0237c632014-07-18 21:06:38 +010020endif
Ian Campbell6efe3692014-05-05 11:52:26 +010021endif
22
23ifdef CONFIG_SPL_BUILD
Simon Glass5debe1f2015-02-07 10:47:30 -070024obj-y += fel_utils.o
Ian Campbell6efe3692014-05-05 11:52:26 +010025endif