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