summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unleashed/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/sifive/hifive-unleashed/Makefile.mk')
-rw-r--r--src/mainboard/sifive/hifive-unleashed/Makefile.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/Makefile.mk b/src/mainboard/sifive/hifive-unleashed/Makefile.mk
new file mode 100644
index 0000000000..2a32df8756
--- /dev/null
+++ b/src/mainboard/sifive/hifive-unleashed/Makefile.mk
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += media.c
+
+romstage-y += romstage.c
+romstage-y += media.c
+
+ramstage-y += fixup_fdt.c
+ramstage-y += media.c
+
+DTB=$(obj)/hifive-unleashed.dtb
+DTS=src/mainboard/sifive/hifive-unleashed/hifive-unleashed-a00.dts
+$(DTB): $(DTS)
+ dtc -I dts -O dtb -o $(DTB) $(DTS)
+
+cbfs-files-y += fallback/DTB
+fallback/DTB-file := $(DTB)
+fallback/DTB-type := raw