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# 10obj-y += timer.o 11obj-y += board.o 12obj-y += clock.o 13obj-y += cpu_info.o 14obj-y += dram_helpers.o 15obj-y += pinmux.o 16obj-y += usbc.o 17obj-$(CONFIG_MACH_SUN6I) += prcm.o 18obj-$(CONFIG_MACH_SUN8I) += prcm.o 19obj-$(CONFIG_MACH_SUN9I) += prcm.o 20obj-$(CONFIG_MACH_SUN6I) += p2wi.o 21obj-$(CONFIG_MACH_SUN8I) += rsb.o 22obj-$(CONFIG_MACH_SUN9I) += 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_SUN8I) += clock_sun6i.o 28obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o 29 30obj-$(CONFIG_AXP152_POWER) += pmic_bus.o 31obj-$(CONFIG_AXP209_POWER) += pmic_bus.o 32obj-$(CONFIG_AXP221_POWER) += pmic_bus.o 33 34ifndef CONFIG_SPL_BUILD 35ifdef CONFIG_ARMV7_PSCI 36obj-y += psci.o 37endif 38endif 39 40ifdef CONFIG_SPL_BUILD 41obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o 42obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o 43obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o 44obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o 45obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o 46obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o 47obj-y += fel_utils.o 48endif 49