summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unmatched/Makefile.inc
blob: 0463be5de4602cd3cd93b3fb0e4f36f2d02c4d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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