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