1# SPDX-License-Identifier: GPL-2.0+ 2# 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. 8 9obj-y += board.o 10obj-y += clock.o 11obj-y += cpu_info.o 12obj-y += dram_helpers.o 13obj-y += pinmux.o 14ifndef CONFIG_MACH_SUN9I 15obj-y += usb_phy.o 16endif 17obj-$(CONFIG_SUN6I_P2WI) += p2wi.o 18obj-$(CONFIG_SUN6I_PRCM) += prcm.o 19obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o 20obj-$(CONFIG_SUN8I_RSB) += rsb.o 21obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o 22obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o 23obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o 24obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o 25obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o 26ifdef CONFIG_MACH_SUN8I_A83T 27obj-y += clock_sun8i_a83t.o 28else 29obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o 30endif 31obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o 32 33ifdef CONFIG_SPL_BUILD 34obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o 35obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o 36obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o 37obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o 38obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o 39obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o 40obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o 41obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o 42obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/ 43endif 44