2014-05-05 10:52:23 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
|
|
#
|
|
|
|
# Based on some other Makefile
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
obj-y += timer.o
|
2014-05-05 10:52:26 +00:00
|
|
|
obj-y += board.o
|
2014-05-05 10:52:23 +00:00
|
|
|
obj-y += clock.o
|
2014-11-15 22:18:18 +00:00
|
|
|
obj-y += cpu_info.o
|
2014-05-05 10:52:24 +00:00
|
|
|
obj-y += pinmux.o
|
2015-01-07 14:08:43 +00:00
|
|
|
obj-y += usbc.o
|
2014-10-24 20:20:47 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += prcm.o
|
|
|
|
obj-$(CONFIG_MACH_SUN8I) += prcm.o
|
2013-07-25 12:07:42 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += p2wi.o
|
2014-11-29 12:38:35 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += rsb.o
|
2014-10-24 20:20:47 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
|
2015-01-14 18:56:33 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o
|
2014-05-05 10:52:26 +00:00
|
|
|
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
2014-07-18 20:06:38 +00:00
|
|
|
ifdef CONFIG_ARMV7_PSCI
|
|
|
|
obj-y += psci.o
|
|
|
|
endif
|
2014-05-05 10:52:26 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2014-11-02 19:31:16 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
|
2014-10-25 18:27:23 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
|
2014-11-02 19:31:16 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
|
2014-12-07 13:34:27 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += dram_sun8i.o
|
2014-05-05 10:52:26 +00:00
|
|
|
ifdef CONFIG_SPL_FEL
|
|
|
|
obj-y += start.o
|
|
|
|
endif
|
|
|
|
endif
|