2014-05-05 18:52:23 +08: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 18:52:26 +08:00
|
|
|
obj-y += board.o
|
2014-05-05 18:52:23 +08:00
|
|
|
obj-y += clock.o
|
2014-05-05 18:52:24 +08:00
|
|
|
obj-y += pinmux.o
|
2014-06-09 17:36:57 +08:00
|
|
|
obj-$(CONFIG_SUN4I) += clock_sun4i.o
|
2014-06-09 17:36:58 +08:00
|
|
|
obj-$(CONFIG_SUN5I) += clock_sun4i.o
|
2014-05-05 18:52:23 +08:00
|
|
|
obj-$(CONFIG_SUN7I) += clock_sun4i.o
|
2014-05-05 18:52:26 +08:00
|
|
|
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
|
|
obj-y += cpu_info.o
|
2014-07-19 04:06:38 +08:00
|
|
|
ifdef CONFIG_ARMV7_PSCI
|
|
|
|
obj-y += psci.o
|
|
|
|
endif
|
2014-05-05 18:52:26 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2014-06-09 17:36:57 +08:00
|
|
|
obj-$(CONFIG_SUN4I) += dram.o
|
2014-06-09 17:36:58 +08:00
|
|
|
obj-$(CONFIG_SUN5I) += dram.o
|
2014-05-05 18:52:25 +08:00
|
|
|
obj-$(CONFIG_SUN7I) += dram.o
|
2014-05-05 18:52:26 +08:00
|
|
|
ifdef CONFIG_SPL_FEL
|
|
|
|
obj-y += start.o
|
|
|
|
endif
|
|
|
|
endif
|