ARM: sun6i: Add support for the power reset control module found on the A31
[oweals/u-boot.git] / arch / arm / cpu / armv7 / sunxi / Makefile
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
11 obj-y   += board.o
12 obj-y   += clock.o
13 obj-y   += pinmux.o
14 obj-$(CONFIG_SUN6I)     += prcm.o
15 obj-$(CONFIG_SUN4I)     += clock_sun4i.o
16 obj-$(CONFIG_SUN5I)     += clock_sun4i.o
17 obj-$(CONFIG_SUN7I)     += clock_sun4i.o
18
19 ifndef CONFIG_SPL_BUILD
20 obj-y   += cpu_info.o
21 ifdef CONFIG_ARMV7_PSCI
22 obj-y   += psci.o
23 endif
24 endif
25
26 ifdef CONFIG_SPL_BUILD
27 obj-$(CONFIG_SUN4I)     += dram.o
28 obj-$(CONFIG_SUN5I)     += dram.o
29 obj-$(CONFIG_SUN7I)     += dram.o
30 ifdef CONFIG_SPL_FEL
31 obj-y   += start.o
32 endif
33 endif