2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2016-03-29 15:29:06 +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.
|
|
|
|
|
|
|
|
obj-y += board.o
|
|
|
|
obj-y += clock.o
|
|
|
|
obj-y += cpu_info.o
|
|
|
|
obj-y += dram_helpers.o
|
|
|
|
obj-y += pinmux.o
|
2018-01-11 07:51:58 +00:00
|
|
|
obj-$(CONFIG_SUN6I_P2WI) += p2wi.o
|
2018-01-11 07:51:15 +00:00
|
|
|
obj-$(CONFIG_SUN6I_PRCM) += prcm.o
|
2018-02-14 16:58:30 +00:00
|
|
|
obj-$(CONFIG_AXP_PMIC_BUS) += pmic_bus.o
|
2018-01-11 07:53:52 +00:00
|
|
|
obj-$(CONFIG_SUN8I_RSB) += rsb.o
|
2016-03-29 15:29:06 +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
|
2016-03-29 15:29:10 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN50I) += clock_sun6i.o
|
2016-03-29 15:29:06 +00:00
|
|
|
ifdef CONFIG_MACH_SUN8I_A83T
|
|
|
|
obj-y += clock_sun8i_a83t.o
|
|
|
|
else
|
|
|
|
obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
|
|
|
|
endif
|
2016-10-28 10:21:29 +00:00
|
|
|
obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o gtbus_sun9i.o
|
2016-03-29 15:29:06 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2018-01-10 10:33:34 +00:00
|
|
|
obj-$(CONFIG_DRAM_SUN4I) += dram_sun4i.o
|
2018-03-16 18:46:36 +00:00
|
|
|
obj-$(CONFIG_DRAM_SUN6I) += dram_sun6i.o
|
2018-01-10 10:45:14 +00:00
|
|
|
obj-$(CONFIG_DRAM_SUN8I_A23) += dram_sun8i_a23.o
|
2018-01-10 10:47:39 +00:00
|
|
|
obj-$(CONFIG_DRAM_SUN8I_A33) += dram_sun8i_a33.o
|
2018-01-10 10:50:26 +00:00
|
|
|
obj-$(CONFIG_DRAM_SUN8I_A83T) += dram_sun8i_a83t.o
|
2018-03-16 18:48:01 +00:00
|
|
|
obj-$(CONFIG_DRAM_SUN9I) += dram_sun9i.o
|
2018-02-06 17:12:56 +00:00
|
|
|
obj-$(CONFIG_SPL_SPI_SUNXI) += spl_spi_sunxi.o
|
2017-06-03 09:10:14 +00:00
|
|
|
obj-$(CONFIG_SUNXI_DRAM_DW) += dram_sunxi_dw.o
|
2017-06-03 09:10:18 +00:00
|
|
|
obj-$(CONFIG_SUNXI_DRAM_DW) += dram_timings/
|
2016-03-29 15:29:06 +00:00
|
|
|
endif
|