blob: 6c706393d39005d8fc8f82e8e30b17dc97c4eca5 [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
Hans de Goede8c1c7822014-06-09 11:36:58 +020015obj-$(CONFIG_SUN5I) += clock_sun4i.o
Ian Campbell49aeca32014-05-05 11:52:23 +010016obj-$(CONFIG_SUN7I) += clock_sun4i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010017
18ifndef CONFIG_SPL_BUILD
19obj-y += cpu_info.o
20endif
21
22ifdef CONFIG_SPL_BUILD
Hans de Goede3ab9c232014-06-09 11:36:57 +020023obj-$(CONFIG_SUN4I) += dram.o
Hans de Goede8c1c7822014-06-09 11:36:58 +020024obj-$(CONFIG_SUN5I) += dram.o
Ian Campbell2f1afcc2014-05-05 11:52:25 +010025obj-$(CONFIG_SUN7I) += dram.o
Ian Campbell6efe3692014-05-05 11:52:26 +010026ifdef CONFIG_SPL_FEL
27obj-y += start.o
28endif
29endif