blob: 5510aa54353f5653ed803a2d6cf00f9099ec59dd [file] [log] [blame]
Alexander Graf8dd84a72016-03-29 17:29:06 +02001#
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
11obj-y += board.o
12obj-y += clock.o
13obj-y += cpu_info.o
14obj-y += dram_helpers.o
15obj-y += pinmux.o
16ifndef CONFIG_MACH_SUN9I
17obj-y += usb_phy.o
18endif
19obj-$(CONFIG_MACH_SUN6I) += prcm.o
20obj-$(CONFIG_MACH_SUN8I) += prcm.o
21obj-$(CONFIG_MACH_SUN9I) += prcm.o
22obj-$(CONFIG_MACH_SUN6I) += p2wi.o
23obj-$(CONFIG_MACH_SUN8I) += rsb.o
24obj-$(CONFIG_MACH_SUN9I) += rsb.o
25obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
26obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
27obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
28obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020029obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020030ifdef CONFIG_MACH_SUN8I_A83T
31obj-y += clock_sun8i_a83t.o
32else
33obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
34endif
Philipp Tomsich3015e042016-10-28 18:21:29 +080035obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020036
37obj-$(CONFIG_AXP152_POWER) += pmic_bus.o
38obj-$(CONFIG_AXP209_POWER) += pmic_bus.o
39obj-$(CONFIG_AXP221_POWER) += pmic_bus.o
Chen-Yu Tsaif1e66e72016-05-02 10:28:15 +080040obj-$(CONFIG_AXP809_POWER) += pmic_bus.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020041obj-$(CONFIG_AXP818_POWER) += pmic_bus.o
42
43ifdef CONFIG_SPL_BUILD
44obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
45obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
46obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
47obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
48obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o
49obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o
50obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o
Andre Przywara5fb97432017-02-16 01:20:27 +000051obj-$(CONFIG_MACH_SUNXI_H3_H5) += dram_sun8i_h3.o
Chen-Yu Tsai143ef792016-12-01 19:09:57 +080052obj-$(CONFIG_MACH_SUN8I_R40) += dram_sun8i_h3.o
Philipp Tomsichd36af1c2016-10-28 18:21:28 +080053obj-$(CONFIG_MACH_SUN9I) += dram_sun9i.o
Jens Kuskef6138172017-01-02 11:48:42 +000054obj-$(CONFIG_MACH_SUN50I) += dram_sun8i_h3.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020055endif