summaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/fu540/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-06-04 13:50:39 -0400
committerTom Rini <trini@konsulko.com>2020-06-04 13:50:39 -0400
commit07d90d8bd451b9595fb0369c51f90ee2dccd5d9f (patch)
tree97560956a7738893dd4cc972e3a1b463623033bb /arch/riscv/cpu/fu540/Makefile
parentc27178ba3649f539c9f1890ea147f4c5415f63b5 (diff)
parent0a94007e829876c7ebd49daebfaa90eea25801b8 (diff)
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
- Fixes 7e249bc13aaf: ("riscv: Move all SMP related SBI calls to SBI_v01") Move sbi_probe_extension() out of CONFIG_SBI_V01. - SiFive FU540 support SPL.
Diffstat (limited to 'arch/riscv/cpu/fu540/Makefile')
-rw-r--r--arch/riscv/cpu/fu540/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/cpu/fu540/Makefile b/arch/riscv/cpu/fu540/Makefile
new file mode 100644
index 0000000000..043fb961a5
--- /dev/null
+++ b/arch/riscv/cpu/fu540/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2020 SiFive, Inc
+# Pragnesh Patel <pragnesh.patel@sifive.com>
+
+ifeq ($(CONFIG_SPL_BUILD),y)
+obj-y += spl.o
+else
+obj-y += dram.o
+obj-y += cpu.o
+endif