]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/sunxi/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.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_MACH_SUN6I)        += prcm.o
15 obj-$(CONFIG_MACH_SUN8I)        += prcm.o
16 obj-$(CONFIG_MACH_SUN4I)        += clock_sun4i.o
17 obj-$(CONFIG_MACH_SUN5I)        += clock_sun4i.o
18 obj-$(CONFIG_MACH_SUN6I)        += clock_sun6i.o
19 obj-$(CONFIG_MACH_SUN7I)        += clock_sun4i.o
20 obj-$(CONFIG_MACH_SUN8I)        += clock_sun6i.o
21
22 ifndef CONFIG_SPL_BUILD
23 obj-y   += cpu_info.o
24 ifdef CONFIG_ARMV7_PSCI
25 obj-y   += psci.o
26 endif
27 endif
28
29 ifdef CONFIG_SPL_BUILD
30 obj-$(CONFIG_MACH_SUN4I)        += dram.o
31 obj-$(CONFIG_MACH_SUN5I)        += dram.o
32 obj-$(CONFIG_MACH_SUN7I)        += dram.o
33 ifdef CONFIG_SPL_FEL
34 obj-y   += start.o
35 endif
36 endif