blob: 183175340acc4f9751739627935101a87560552c [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
Jagan Teki59ea2872018-01-11 13:21:58 +053019obj-$(CONFIG_SUN6I_P2WI) += p2wi.o
Jagan Teki932f5e02018-01-11 13:21:15 +053020obj-$(CONFIG_SUN6I_PRCM) += prcm.o
Jagan Tekifeb29272018-02-14 22:28:30 +053021obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o
Jagan Tekif35767b2018-01-11 13:23:52 +053022obj-$(CONFIG_SUN8I_RSB) += rsb.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020023obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
24obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
25obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
26obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020027obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020028ifdef CONFIG_MACH_SUN8I_A83T
29obj-y += clock_sun8i_a83t.o
30else
31obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
32endif
Philipp Tomsich3015e042016-10-28 18:21:29 +080033obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o
Alexander Graf8dd84a72016-03-29 17:29:06 +020034
Alexander Graf8dd84a72016-03-29 17:29:06 +020035ifdef CONFIG_SPL_BUILD
Jagan Teki3994b1e2018-01-10 16:03:34 +053036obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o
Jagan Teki68d0f5f2018-03-17 00:16:36 +053037obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o
Jagan Teki318e4e52018-01-10 16:15:14 +053038obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o
Jagan Tekie624d4c2018-01-10 16:17:39 +053039obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o
Jagan Teki270a6f62018-01-10 16:20:26 +053040obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o
Jagan Teki6aa7f712018-03-17 00:18:01 +053041obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o
Jagan Teki4e159f82018-02-06 22:42:56 +053042obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o
Icenowy Zhengca0bc022017-06-03 17:10:14 +080043obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o
Icenowy Zhengf09b48e2017-06-03 17:10:18 +080044obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/
Alexander Graf8dd84a72016-03-29 17:29:06 +020045endif