summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unmatched/Makefile.mk
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-04-11 20:52:11 -0600
committerElyes Haouas <ehaouas@noos.fr>2024-04-15 12:39:57 +0000
commit127392599975c1aa5cdf3d18e5bd3e4de9a7db6b (patch)
treecb981ffd15d36c881e62b6f866558b8d3d0e19e3 /src/mainboard/sifive/hifive-unmatched/Makefile.mk
parentdc735c19c7a1b5cc4e37c7f0c73e13b0072bdd9a (diff)
src/mb: Rename new Makefile.inc files to Makefile.mk
These files were added after the switch. Change-Id: I1986e4f921e0e56fe5255433d4b9216dc7c4dc59 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81856 Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/sifive/hifive-unmatched/Makefile.mk')
-rw-r--r--src/mainboard/sifive/hifive-unmatched/Makefile.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/sifive/hifive-unmatched/Makefile.mk b/src/mainboard/sifive/hifive-unmatched/Makefile.mk
new file mode 100644
index 0000000000..0463be5de4
--- /dev/null
+++ b/src/mainboard/sifive/hifive-unmatched/Makefile.mk
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += romstage.c
+bootblock-y += cbfs_spi.c
+
+ramstage-y += cbfs_spi.c
+ramstage-y += fixup_fdt.c
+
+DTB=$(obj)/hifive-unmatched.dtb
+DTS=src/mainboard/sifive/hifive-unmatched/hifive-unmatched-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