blob: 1720f7db01ddf7594a53acf43aed660caf178705 [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
Hans de Goede6faddbc2014-11-15 23:18:18 +010013obj-y += cpu_info.o
Ian Campbellb2765ec2014-05-05 11:52:24 +010014obj-y += pinmux.o
Hans de Goedea1441982015-01-07 15:08:43 +010015obj-y += usbc.o
Ian Campbell8f32aaa2014-10-24 21:20:47 +010016obj-$(CONFIG_MACH_SUN6I) += prcm.o
17obj-$(CONFIG_MACH_SUN8I) += prcm.o
Oliver Schinagl4f9a0082013-07-25 14:07:42 +020018obj-$(CONFIG_MACH_SUN6I) += p2wi.o
Hans de Goede699415b2014-11-29 13:38:35 +010019obj-$(CONFIG_MACH_SUN8I) += rsb.o
Ian Campbell8f32aaa2014-10-24 21:20:47 +010020obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
21obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
22obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
23obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
24obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010025
26ifndef CONFIG_SPL_BUILD
Marc Zyngier0237c632014-07-18 21:06:38 +010027ifdef CONFIG_ARMV7_PSCI
28obj-y += psci.o
29endif
Ian Campbell6efe3692014-05-05 11:52:26 +010030endif
31
32ifdef CONFIG_SPL_BUILD
Hans de Goede5037c452014-11-02 20:31:16 +010033obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
34obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
Hans de Goede31521222014-10-25 20:27:23 +020035obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
Hans de Goede5037c452014-11-02 20:31:16 +010036obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
Hans de Goede966d2392014-12-07 14:34:27 +010037obj-$(CONFIG_MACH_SUN8I) += dram_sun8i.o
Ian Campbell6efe3692014-05-05 11:52:26 +010038ifdef CONFIG_SPL_FEL
39obj-y += start.o
40endif
41endif