blob: 3b6ae47329a7631a948adc9ecf3f7aeff67ccdc3 [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
Ian Campbell8f32aaa2014-10-24 21:20:47 +010014obj-$(CONFIG_MACH_SUN6I) += prcm.o
15obj-$(CONFIG_MACH_SUN8I) += prcm.o
Oliver Schinagl4f9a0082013-07-25 14:07:42 +020016obj-$(CONFIG_MACH_SUN6I) += p2wi.o
Ian Campbell8f32aaa2014-10-24 21:20:47 +010017obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
18obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
19obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
20obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
21obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010022
23ifndef CONFIG_SPL_BUILD
24obj-y += cpu_info.o
Marc Zyngier0237c632014-07-18 21:06:38 +010025ifdef CONFIG_ARMV7_PSCI
26obj-y += psci.o
27endif
Ian Campbell6efe3692014-05-05 11:52:26 +010028endif
29
30ifdef CONFIG_SPL_BUILD
Hans de Goede5037c452014-11-02 20:31:16 +010031obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
32obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
Hans de Goede31521222014-10-25 20:27:23 +020033obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
Hans de Goede5037c452014-11-02 20:31:16 +010034obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010035ifdef CONFIG_SPL_FEL
36obj-y += start.o
37endif
38endif