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 += pinmux.o 15obj-y += usbc.o 16obj-$(CONFIG_MACH_SUN6I) += prcm.o 17obj-$(CONFIG_MACH_SUN8I) += prcm.o 18obj-$(CONFIG_MACH_SUN6I) += p2wi.o 19obj-$(CONFIG_MACH_SUN8I) += rsb.o 20obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o 21obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o 22obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o 23obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o 24obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o 25 26ifndef CONFIG_SPL_BUILD 27ifdef CONFIG_ARMV7_PSCI 28obj-y += psci.o 29endif 30endif 31 32ifdef CONFIG_SPL_BUILD 33obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o 34obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o 35obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o 36obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o 37obj-$(CONFIG_MACH_SUN8I) += dram_sun8i.o 38ifdef CONFIG_SPL_FEL 39obj-y += start.o 40endif 41endif 42