mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
8ebe4f4292
The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio, and uart setup. There is no SPL support for A23, as we do not have any documentation or sample code for DRAM initialization. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
36 lines
799 B
Makefile
36 lines
799 B
Makefile
#
|
|
# (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
|
|
obj-y += board.o
|
|
obj-y += clock.o
|
|
obj-y += pinmux.o
|
|
obj-$(CONFIG_SUN6I) += prcm.o
|
|
obj-$(CONFIG_SUN8I) += prcm.o
|
|
obj-$(CONFIG_SUN4I) += clock_sun4i.o
|
|
obj-$(CONFIG_SUN5I) += clock_sun4i.o
|
|
obj-$(CONFIG_SUN6I) += clock_sun6i.o
|
|
obj-$(CONFIG_SUN7I) += clock_sun4i.o
|
|
obj-$(CONFIG_SUN8I) += clock_sun6i.o
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-y += cpu_info.o
|
|
ifdef CONFIG_ARMV7_PSCI
|
|
obj-y += psci.o
|
|
endif
|
|
endif
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SUN4I) += dram.o
|
|
obj-$(CONFIG_SUN5I) += dram.o
|
|
obj-$(CONFIG_SUN7I) += dram.o
|
|
ifdef CONFIG_SPL_FEL
|
|
obj-y += start.o
|
|
endif
|
|
endif
|