summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/sunxi/Makefile
blob: 4d2274a38ed1d35da37043822be5ed4e58198595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
#
# Based on some other Makefile
# (C) Copyright 2000-2003
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#
obj-y	+= timer.o

obj-$(CONFIG_MACH_SUN6I)	+= tzpc.o
obj-$(CONFIG_MACH_SUN8I_H3)	+= tzpc.o

ifndef CONFIG_SPL_BUILD
ifdef CONFIG_ARMV7_PSCI
obj-$(CONFIG_MACH_SUN6I)	+= psci_sun6i.o
obj-$(CONFIG_MACH_SUN7I)	+= psci_sun7i.o
obj-$(CONFIG_MACH_SUN8I)	+= psci_sun6i.o
endif
endif

ifdef CONFIG_SPL_BUILD
obj-y	+= fel_utils.o
endif