]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/sunxi/Makefile
sunxi: Add sun4i support
[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_SUN4I)     += clock_sun4i.o
15 obj-$(CONFIG_SUN7I)     += clock_sun4i.o
16
17 ifndef CONFIG_SPL_BUILD
18 obj-y   += cpu_info.o
19 endif
20
21 ifdef CONFIG_SPL_BUILD
22 obj-$(CONFIG_SUN4I)     += dram.o
23 obj-$(CONFIG_SUN7I)     += dram.o
24 ifdef CONFIG_SPL_FEL
25 obj-y   += start.o
26 endif
27 endif