summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unleashed/Makefile.inc
blob: aee4c5f70d802f9a9734cf3915bc20b0d2c3fbf4 (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
#
#
# 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