blob: 64407db147a4ec30126adbd97b7a0e9eb855a7e5 [file] [log] [blame]
Alexander Grafe6e505b2016-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
Jagan Teki71d9edf2018-01-11 13:21:58 +053019obj-$(CONFIG_SUN6I_P2WI) += p2wi.o
Jagan Teki2aa697a2018-01-11 13:21:15 +053020obj-$(CONFIG_SUN6I_PRCM) += prcm.o
Jagan Teki6f6f8832018-01-11 13:23:52 +053021obj-$(CONFIG_SUN8I_RSB) += rsb.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020022obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
23obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
24obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
25obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
Siarhei Siamashkad96ebc42016-03-29 17:29:10 +020026obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020027ifdef CONFIG_MACH_SUN8I_A83T
28obj-y += clock_sun8i_a83t.o
29else
30obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
31endif
Philipp Tomsichea1af9f2016-10-28 18:21:29 +080032obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020033
34obj-$(CONFIG_AXP152_POWER) += pmic_bus.o
35obj-$(CONFIG_AXP209_POWER) += pmic_bus.o
36obj-$(CONFIG_AXP221_POWER) += pmic_bus.o
Chen-Yu Tsai795857d2016-05-02 10:28:15 +080037obj-$(CONFIG_AXP809_POWER) += pmic_bus.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020038obj-$(CONFIG_AXP818_POWER) += pmic_bus.o
39
40ifdef CONFIG_SPL_BUILD
41obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
42obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
43obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
44obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
45obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o
46obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o
47obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o
Jagan Tekic2a7a7e2018-02-06 22:42:56 +053048obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o
Icenowy Zheng9934aba2017-06-03 17:10:14 +080049obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o
Icenowy Zhengf6457ce2017-06-03 17:10:18 +080050obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/
Philipp Tomsich297bb9e2016-10-28 18:21:28 +080051obj-$(CONFIG_MACH_SUN9I) += dram_sun9i.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020052endif