blob: f0473d2ab87a371a017439f81c6dd81bfcf18af5 [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
Oliver Schinagl0096aa22014-10-03 20:16:24 +080014obj-$(CONFIG_SUN6I) += prcm.o
Hans de Goede3ab9c232014-06-09 11:36:57 +020015obj-$(CONFIG_SUN4I) += clock_sun4i.o
Hans de Goede8c1c7822014-06-09 11:36:58 +020016obj-$(CONFIG_SUN5I) += clock_sun4i.o
Ian Campbell49aeca32014-05-05 11:52:23 +010017obj-$(CONFIG_SUN7I) += clock_sun4i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010018
19ifndef CONFIG_SPL_BUILD
20obj-y += cpu_info.o
Marc Zyngier0237c632014-07-18 21:06:38 +010021ifdef CONFIG_ARMV7_PSCI
22obj-y += psci.o
23endif
Ian Campbell6efe3692014-05-05 11:52:26 +010024endif
25
26ifdef CONFIG_SPL_BUILD
Hans de Goede3ab9c232014-06-09 11:36:57 +020027obj-$(CONFIG_SUN4I) += dram.o
Hans de Goede8c1c7822014-06-09 11:36:58 +020028obj-$(CONFIG_SUN5I) += dram.o
Ian Campbell2f1afcc2014-05-05 11:52:25 +010029obj-$(CONFIG_SUN7I) += dram.o
Ian Campbell6efe3692014-05-05 11:52:26 +010030ifdef CONFIG_SPL_FEL
31obj-y += start.o
32endif
33endif