blob: 1d4c70ec3521c1fe40351a172c00b058c055e65f [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Alexander Grafe6e505b2016-03-29 17:29:06 +02002#
3# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
4#
5# Based on some other Makefile
6# (C) Copyright 2000-2003
7# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Alexander Grafe6e505b2016-03-29 17:29:06 +02008
9obj-y += board.o
10obj-y += clock.o
11obj-y += cpu_info.o
12obj-y += dram_helpers.o
Jagan Teki2aa697a2018-01-11 13:21:15 +053013obj-$(CONFIG_SUN6I_PRCM) += prcm.o
Jagan Teki735fb252018-02-14 22:28:30 +053014obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o
Icenowy Zheng645ee3c2022-01-29 10:23:04 -050015obj-$(CONFIG_MACH_SUNIV) += clock_sun6i.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020016obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
17obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
18obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
19obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
Siarhei Siamashkad96ebc42016-03-29 17:29:10 +020020obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o
Alexander Grafe6e505b2016-03-29 17:29:06 +020021ifdef CONFIG_MACH_SUN8I_A83T
22obj-y += clock_sun8i_a83t.o
23else
24obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
25endif
Philipp Tomsichea1af9f2016-10-28 18:21:29 +080026obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o
Jernej Skrabec44726092021-01-11 21:11:34 +010027obj-$(CONFIG_SUN50I_GEN_H6) += clock_sun50i_h6.o
Andre Przywara4a9e89a2022-10-05 17:54:19 +010028obj-$(CONFIG_SUNXI_GEN_NCAT2) += clock_sun50i_h6.o
Jesse Taube0d4377f2022-01-29 10:23:01 -050029ifndef CONFIG_ARM64
30obj-y += timer.o
31endif
Alexander Grafe6e505b2016-03-29 17:29:06 +020032
Alexander Grafe6e505b2016-03-29 17:29:06 +020033ifdef CONFIG_SPL_BUILD
Icenowy Zheng645ee3c2022-01-29 10:23:04 -050034obj-$(CONFIG_MACH_SUNIV) += dram_suniv.o
Jagan Tekidd928bf2018-01-10 16:03:34 +053035obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o
Jagan Tekifdfa9342018-03-17 00:16:36 +053036obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o
Jagan Tekiaf303932018-01-10 16:15:14 +053037obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o
Jagan Tekic335e992018-01-10 16:17:39 +053038obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o
Jagan Teki0354f4b2018-01-10 16:20:26 +053039obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o
Jagan Teki7d0b1652018-03-17 00:18:01 +053040obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o
Jagan Tekic2a7a7e2018-02-06 22:42:56 +053041obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o
Icenowy Zheng9934aba2017-06-03 17:10:14 +080042obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o
Icenowy Zhengf6457ce2017-06-03 17:10:18 +080043obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/
Icenowy Zhengda261652018-07-23 06:13:34 +080044obj-$(CONFIG_DRAM_SUN50I_H6) += dram_sun50i_h6.o
Andre Przywara770b85a2019-07-15 02:27:06 +010045obj-$(CONFIG_DRAM_SUN50I_H6) += dram_timings/
Jernej Skrabecf4317db2021-01-11 21:11:43 +010046obj-$(CONFIG_DRAM_SUN50I_H616) += dram_sun50i_h616.o
47obj-$(CONFIG_DRAM_SUN50I_H616) += dram_timings/
Alexander Grafe6e505b2016-03-29 17:29:06 +020048endif