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