1# 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_SUN6I_P2WI) += p2wi.o 20obj-$(CONFIG_SUN6I_PRCM) += prcm.o 21obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o 22obj-$(CONFIG_SUN8I_RSB) += rsb.o 23obj-$(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 27obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o 28ifdef CONFIG_MACH_SUN8I_A83T 29obj-y += clock_sun8i_a83t.o 30else 31obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o 32endif 33obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o 34 35ifdef CONFIG_SPL_BUILD 36obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o 37obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o 38obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o 39obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o 40obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o 41obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o 42obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o 43obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o 44obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/ 45endif 46