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 14obj-$(CONFIG_SUN6I_P2WI) += p2wi.o 15obj-$(CONFIG_SUN6I_PRCM) += prcm.o 16obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o 17obj-$(CONFIG_SUN8I_RSB) += rsb.o 18obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o 19obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o 20obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o 21obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o 22obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o 23ifdef CONFIG_MACH_SUN8I_A83T 24obj-y += clock_sun8i_a83t.o 25else 26obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o 27endif 28obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o 29obj-$(CONFIG_MACH_SUN50I_H6) += clock_sun50i_h6.o 30 31ifdef CONFIG_SPL_BUILD 32obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o 33obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o 34obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o 35obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o 36obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o 37obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o 38obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o 39obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o 40obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/ 41obj-$(CONFIG_DRAM_SUN50I_H6) += dram_sun50i_h6.o 42endif 43