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