ARM: uniphier: compile board data only for SPL
[platform/kernel/u-boot.git] / arch / arm / mach-uniphier / Makefile
1 #
2 # SPDX-License-Identifier:      GPL-2.0+
3 #
4
5 ifdef CONFIG_SPL_BUILD
6
7 obj-y += boards.o
8 obj-y += spl_board_init.o
9 obj-y += memconf.o
10 obj-y += bcu/
11
12 else
13
14 obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o
15 obj-y += dram_init.o
16 obj-y += board_init.o
17 obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o
18 obj-y += reset.o
19
20 obj-$(CONFIG_MICRO_SUPPORT_CARD) += sbc/ micro-support-card.o
21 obj-y += pinctrl-glue.o
22
23 endif
24
25 obj-y += soc-info.o
26 obj-y += boot-mode/
27 obj-y += clk/
28 obj-y += dram/
29
30 obj-$(CONFIG_DEBUG_UART_UNIPHIER) += debug-uart/
31
32 obj-$(CONFIG_CPU_V7) += arm32/
33 obj-$(CONFIG_ARM64) += arm64/