aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/mach-uniphier/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/mach-uniphier/Makefile')
-rw-r--r--roms/u-boot/arch/arm/mach-uniphier/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-uniphier/Makefile b/roms/u-boot/arch/arm/mach-uniphier/Makefile
new file mode 100644
index 000000000..d333b7091
--- /dev/null
+++ b/roms/u-boot/arch/arm/mach-uniphier/Makefile
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+ifdef CONFIG_SPL_BUILD
+
+obj-y += boards.o
+obj-y += spl_board_init.o
+obj-y += memconf.o
+obj-y += bcu/
+obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc-boot-mode.o
+
+else
+
+obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o
+obj-y += dram_init.o
+obj-y += board_init.o
+obj-$(CONFIG_ARCH_UNIPHIER_V8_MULTI) += base-address.o
+obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o
+ifndef CONFIG_SYSRESET
+obj-y += reset.o
+endif
+
+obj-$(CONFIG_MICRO_SUPPORT_CARD) += micro-support-card.o
+obj-$(CONFIG_MMC) += mmc-first-dev.o
+obj-y += fdt-fixup.o
+
+endif
+
+obj-y += soc-info.o
+obj-y += boot-device/
+obj-y += clk/
+obj-y += dram/
+
+obj-$(CONFIG_DEBUG_UART_UNIPHIER) += debug-uart/
+
+obj-$(CONFIG_CPU_V7A) += arm32/
+obj-$(CONFIG_ARM64) += arm64/