blob: 856d3535281307365a32bdf98be6c627a541c7a5 [file] [log] [blame]
Ian Campbell49aeca32014-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 Campbell6efe3692014-05-05 11:52:26 +010011obj-y += board.o
Ian Campbell49aeca32014-05-05 11:52:23 +010012obj-y += clock.o
Ian Campbellb2765ec2014-05-05 11:52:24 +010013obj-y += pinmux.o
Hans de Goede3ab9c232014-06-09 11:36:57 +020014obj-$(CONFIG_SUN4I) += clock_sun4i.o
Ian Campbell49aeca32014-05-05 11:52:23 +010015obj-$(CONFIG_SUN7I) += clock_sun4i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010016
17ifndef CONFIG_SPL_BUILD
18obj-y += cpu_info.o
19endif
20
21ifdef CONFIG_SPL_BUILD
Hans de Goede3ab9c232014-06-09 11:36:57 +020022obj-$(CONFIG_SUN4I) += dram.o
Ian Campbell2f1afcc2014-05-05 11:52:25 +010023obj-$(CONFIG_SUN7I) += dram.o
Ian Campbell6efe3692014-05-05 11:52:26 +010024ifdef CONFIG_SPL_FEL
25obj-y += start.o
26endif
27endif