summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/sunxi/Makefile
blob: dfb0a3e3c099a5bd9615f3ff0bac0d8915279805 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# (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-y	+= board.o
obj-y	+= clock.o
obj-y	+= cpu_info.o
obj-y	+= dram_helpers.o
obj-y	+= pinmux.o
ifndef CONFIG_MACH_SUN9I
obj-y	+= usb_phy.o
endif
obj-$(CONFIG_MACH_SUN6I)	+= prcm.o
obj-$(CONFIG_MACH_SUN8I)	+= prcm.o
obj-$(CONFIG_MACH_SUN9I)	+= prcm.o
obj-$(CONFIG_MACH_SUN6I)	+= p2wi.o
obj-$(CONFIG_MACH_SUN8I)	+= rsb.o
obj-$(CONFIG_MACH_SUN9I)	+= rsb.o
obj-$(CONFIG_MACH_SUN4I)	+= clock_sun4i.o
obj-$(CONFIG_MACH_SUN5I)	+= clock_sun4i.o
obj-$(CONFIG_MACH_SUN6I)	+= clock_sun6i.o
obj-$(CONFIG_MACH_SUN7I)	+= clock_sun4i.o
ifdef CONFIG_MACH_SUN8I_A83T
obj-y				+= clock_sun8i_a83t.o
else
obj-$(CONFIG_MACH_SUN8I)	+= clock_sun6i.o
endif
obj-$(CONFIG_MACH_SUN9I)	+= clock_sun9i.o
obj-$(CONFIG_MACH_SUN6I)	+= tzpc.o

obj-$(CONFIG_AXP152_POWER)	+= pmic_bus.o
obj-$(CONFIG_AXP209_POWER)	+= pmic_bus.o
obj-$(CONFIG_AXP221_POWER)	+= pmic_bus.o
obj-$(CONFIG_AXP818_POWER)	+= pmic_bus.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-$(CONFIG_MACH_SUN4I)	+= dram_sun4i.o
obj-$(CONFIG_MACH_SUN5I)	+= dram_sun4i.o
obj-$(CONFIG_MACH_SUN6I)	+= dram_sun6i.o
obj-$(CONFIG_MACH_SUN7I)	+= dram_sun4i.o
obj-$(CONFIG_MACH_SUN8I_A23)	+= dram_sun8i_a23.o
obj-$(CONFIG_MACH_SUN8I_A33)	+= dram_sun8i_a33.o
obj-$(CONFIG_MACH_SUN8I_A83T)	+= dram_sun8i_a83t.o
obj-$(CONFIG_MACH_SUN8I_H3)	+= dram_sun8i_h3.o
obj-y	+= fel_utils.o
endif