blob: a64bfa18e0d7f779ed6f3bc9f88f6dd6f085440e [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
Ian Campbell643cf0e2014-05-05 11:52:23 +010014obj-$(CONFIG_SUN7I) += clock_sun4i.o
Ian Campbellcba69ee2014-05-05 11:52:26 +010015
16ifndef CONFIG_SPL_BUILD
17obj-y += cpu_info.o
18endif
19
20ifdef CONFIG_SPL_BUILD
Ian Campbell286c3c32014-05-05 11:52:25 +010021obj-$(CONFIG_SUN7I) += dram.o
Ian Campbellcba69ee2014-05-05 11:52:26 +010022ifdef CONFIG_SPL_FEL
23obj-y += start.o
24endif
25endif