summaryrefslogtreecommitdiffstats
path: root/src/mainboard/sifive/hifive-unleashed/Makefile.inc
blob: ee5317d7105c4fbedf1fb58016e8d7ee39a3f65d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This file is part of the coreboot project.
#
#
# SPDX-License-Identifier: GPL-2.0-only

bootblock-y += memlayout.ld
bootblock-y += media.c

romstage-y += memlayout.ld
romstage-y += romstage.c
romstage-y += media.c

ramstage-y += memlayout.ld
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