2014-05-05 18:52:23 +08: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 18:52:26 +08:00
|
|
|
obj-y += board.o
|
2014-05-05 18:52:23 +08:00
|
|
|
obj-y += clock.o
|
2014-11-16 06:18:18 +08:00
|
|
|
obj-y += cpu_info.o
|
2015-02-04 19:14:56 +08:00
|
|
|
obj-y += dram_helpers.o
|
2014-05-05 18:52:24 +08:00
|
|
|
obj-y += pinmux.o
|
2015-01-14 02:25:06 +08:00
|
|
|
ifndef CONFIG_MACH_SUN9I
|
2015-04-27 21:05:10 +08:00
|
|
|
obj-y += usb_phy.o
|
2015-01-14 02:25:06 +08:00
|
|
|
endif
|
2014-10-25 04:20:47 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += prcm.o
|
|
|
|
obj-$(CONFIG_MACH_SUN8I) += prcm.o
|
2015-01-26 23:46:43 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += prcm.o
|
2013-07-25 20:07:42 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += p2wi.o
|
2014-11-29 20:38:35 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += rsb.o
|
2015-01-26 23:46:43 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += rsb.o
|
2014-10-25 04:20:47 +08: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
|
2015-11-29 01:07:24 +08:00
|
|
|
ifdef CONFIG_MACH_SUN8I_A83T
|
|
|
|
obj-y += clock_sun8i_a83t.o
|
|
|
|
else
|
2014-10-25 04:20:47 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
|
2015-11-29 01:07:24 +08:00
|
|
|
endif
|
2015-01-15 02:56:33 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o
|
2015-08-25 10:49:19 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += tzpc.o
|
2016-01-06 15:13:06 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_H3) += tzpc.o
|
2014-05-05 18:52:26 +08:00
|
|
|
|
2015-04-26 04:18:09 +08:00
|
|
|
obj-$(CONFIG_AXP152_POWER) += pmic_bus.o
|
|
|
|
obj-$(CONFIG_AXP209_POWER) += pmic_bus.o
|
2015-04-25 20:07:37 +08:00
|
|
|
obj-$(CONFIG_AXP221_POWER) += pmic_bus.o
|
2015-11-29 01:07:22 +08:00
|
|
|
obj-$(CONFIG_AXP818_POWER) += pmic_bus.o
|
2015-04-25 20:07:37 +08:00
|
|
|
|
2014-05-05 18:52:26 +08:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2014-07-19 04:06:38 +08:00
|
|
|
ifdef CONFIG_ARMV7_PSCI
|
2015-05-28 21:25:31 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += psci_sun6i.o
|
2015-05-28 21:25:30 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN7I) += psci_sun7i.o
|
2015-05-28 21:25:33 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I) += psci_sun6i.o
|
2014-07-19 04:06:38 +08:00
|
|
|
endif
|
2014-05-05 18:52:26 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2014-11-03 03:31:16 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN4I) += dram_sun4i.o
|
|
|
|
obj-$(CONFIG_MACH_SUN5I) += dram_sun4i.o
|
2014-10-26 02:27:23 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN6I) += dram_sun6i.o
|
2014-11-03 03:31:16 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN7I) += dram_sun4i.o
|
2015-04-07 02:55:39 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_A23) += dram_sun8i_a23.o
|
2015-03-02 02:17:48 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_A33) += dram_sun8i_a33.o
|
2015-11-29 01:07:25 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_A83T) += dram_sun8i_a83t.o
|
2015-11-17 22:12:59 +08:00
|
|
|
obj-$(CONFIG_MACH_SUN8I_H3) += dram_sun8i_h3.o
|
2015-02-08 01:47:30 +08:00
|
|
|
obj-y += fel_utils.o
|
2014-05-05 18:52:26 +08:00
|
|
|
endif
|