sunxi: add sun7i cpu, board and start of day support
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / sunxi / Makefile
index d81d26c..a64bfa1 100644 (file)
@@ -8,7 +8,18 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 obj-y  += timer.o
+obj-y  += board.o
 obj-y  += clock.o
 obj-y  += pinmux.o
 obj-$(CONFIG_SUN7I)    += clock_sun4i.o
+
+ifndef CONFIG_SPL_BUILD
+obj-y  += cpu_info.o
+endif
+
+ifdef CONFIG_SPL_BUILD
 obj-$(CONFIG_SUN7I)    += dram.o
+ifdef CONFIG_SPL_FEL
+obj-y  += start.o
+endif
+endif