blob: 24f1daee64766d1631122a65dcb13dcb88dbc8ea [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
Chen-Yu Tsai848c2632014-10-22 16:47:44 +080015obj-$(CONFIG_SUN8I) += prcm.o
Hans de Goede3ab9c232014-06-09 11:36:57 +020016obj-$(CONFIG_SUN4I) += clock_sun4i.o
Hans de Goede8c1c7822014-06-09 11:36:58 +020017obj-$(CONFIG_SUN5I) += clock_sun4i.o
Chen-Yu Tsai3a045422014-10-03 20:16:25 +080018obj-$(CONFIG_SUN6I) += clock_sun6i.o
Ian Campbell49aeca32014-05-05 11:52:23 +010019obj-$(CONFIG_SUN7I) += clock_sun4i.o
Chen-Yu Tsai848c2632014-10-22 16:47:44 +080020obj-$(CONFIG_SUN8I) += clock_sun6i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010021
22ifndef CONFIG_SPL_BUILD
23obj-y += cpu_info.o
Marc Zyngier0237c632014-07-18 21:06:38 +010024ifdef CONFIG_ARMV7_PSCI
25obj-y += psci.o
26endif
Ian Campbell6efe3692014-05-05 11:52:26 +010027endif
28
29ifdef CONFIG_SPL_BUILD
Hans de Goede3ab9c232014-06-09 11:36:57 +020030obj-$(CONFIG_SUN4I) += dram.o
Hans de Goede8c1c7822014-06-09 11:36:58 +020031obj-$(CONFIG_SUN5I) += dram.o
Ian Campbell2f1afcc2014-05-05 11:52:25 +010032obj-$(CONFIG_SUN7I) += dram.o
Ian Campbell6efe3692014-05-05 11:52:26 +010033ifdef CONFIG_SPL_FEL
34obj-y += start.o
35endif
36endif