2014-05-05 10:52:23 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
|
|
#
|
|
|
|
# Based on some other Makefile
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
obj-y += timer.o
|
2014-05-05 10:52:26 +00:00
|
|
|
obj-y += board.o
|
2014-05-05 10:52:23 +00:00
|
|
|
obj-y += clock.o
|
2014-11-15 22:18:18 +00:00
|
|
|
obj-y += cpu_info.o
|
2015-02-04 11:14:56 +00:00
|
|
|
obj-y += dram_helpers.o
|
2014-05-05 10:52:24 +00:00
|
|
|
obj-y += pinmux.o
|
2015-01-13 18:25:06 +00:00
|
|
|
ifndef CONFIG_MACH_SUN9I
|
2015-04-27 13:05:10 +00:00
|
|
|
obj-y += usb_phy.o
|
2015-01-13 18:25:06 +00:00
|
|
|
endif
|
2014-10-24 20:20:47 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += prcm.o
|
|
|
|
obj-$(CONFIG_MACH_SUN8I) += prcm.o
|
2015-01-26 15:46:43 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += prcm.o
|
2013-07-25 12:07:42 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += p2wi.o
|
2014-11-29 12:38:35 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += rsb.o
|
2015-01-26 15:46:43 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += rsb.o
|
2014-10-24 20:20:47 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN4I) += clock_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN5I) += clock_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN6I) += clock_sun6i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
|
2015-01-14 18:56:33 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o
|
2015-08-25 02:49:19 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += tzpc.o
|
2014-05-05 10:52:26 +00:00
|
|
|
|
2015-04-25 20:18:09 +00:00
|
|
|
obj-$(CONFIG_AXP152_POWER) += pmic_bus.o
|
|
|
|
obj-$(CONFIG_AXP209_POWER) += pmic_bus.o
|
2015-04-25 12:07:37 +00:00
|
|
|
obj-$(CONFIG_AXP221_POWER) += pmic_bus.o
|
2015-11-28 17:07:22 +00:00
|
|
|
obj-$(CONFIG_AXP818_POWER) += pmic_bus.o
|
2015-04-25 12:07:37 +00:00
|
|
|
|
2014-05-05 10:52:26 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2014-07-18 20:06:38 +00:00
|
|
|
ifdef CONFIG_ARMV7_PSCI
|
2015-05-28 13:25:31 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += psci_sun6i.o
|
2015-05-28 13:25:30 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN7I) += psci_sun7i.o
|
2015-05-28 13:25:33 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += psci_sun6i.o
|
2014-07-18 20:06:38 +00:00
|
|
|
endif
|
2014-05-05 10:52:26 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2014-11-02 19:31:16 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
|
2014-10-25 18:27:23 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
|
2014-11-02 19:31:16 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
|
2015-04-06 18:55:39 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o
|
2015-03-01 18:17:48 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o
|
2015-11-17 14:12:59 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_H3) += dram_sun8i_h3.o
|
2015-02-07 17:47:30 +00:00
|
|
|
obj-y += fel_utils.o
|
2014-05-05 10:52:26 +00:00
|
|
|
endif
|