blob: e9721b27b64595d27918a396954329ae68acc44c [file] [log] [blame]
Ian Campbell643cf0e2014-05-05 11:52:23 +01001#
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
Ian Campbellcba69ee2014-05-05 11:52:26 +010011obj-y += board.o
Ian Campbell643cf0e2014-05-05 11:52:23 +010012obj-y += clock.o
Ian Campbellfe1b4db2014-05-05 11:52:24 +010013obj-y += pinmux.o
Hans de Goede745325a2014-06-09 11:36:57 +020014obj-$(CONFIG_SUN4I) += clock_sun4i.o
Hans de Goedef84269c2014-06-09 11:36:58 +020015obj-$(CONFIG_SUN5I) += clock_sun4i.o
Ian Campbell643cf0e2014-05-05 11:52:23 +010016obj-$(CONFIG_SUN7I) += clock_sun4i.o
Ian Campbellcba69ee2014-05-05 11:52:26 +010017
18ifndef CONFIG_SPL_BUILD
19obj-y += cpu_info.o
Marc Zyngierd5db7022014-07-18 21:06:38 +010020ifdef CONFIG_ARMV7_PSCI
21obj-y += psci.o
22endif
Ian Campbellcba69ee2014-05-05 11:52:26 +010023endif
24
25ifdef CONFIG_SPL_BUILD
Hans de Goede745325a2014-06-09 11:36:57 +020026obj-$(CONFIG_SUN4I) += dram.o
Hans de Goedef84269c2014-06-09 11:36:58 +020027obj-$(CONFIG_SUN5I) += dram.o
Ian Campbell286c3c32014-05-05 11:52:25 +010028obj-$(CONFIG_SUN7I) += dram.o
Ian Campbellcba69ee2014-05-05 11:52:26 +010029ifdef CONFIG_SPL_FEL
30obj-y += start.o
31endif
32endif