Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jonathan Neuschäfer | 1c09cfa | 2018-04-19 16:23:55 +0200 | [diff] [blame] | 2 | |
Xiang Wang | f4e1583 | 2019-05-29 15:39:48 +0800 | [diff] [blame] | 3 | bootblock-y += media.c |
Xiang Wang | 411a8b7 | 2019-01-23 11:45:06 +0800 | [diff] [blame] | 4 | |
Jonathan Neuschäfer | 1c09cfa | 2018-04-19 16:23:55 +0200 | [diff] [blame] | 5 | romstage-y += romstage.c |
Xiang Wang | f4e1583 | 2019-05-29 15:39:48 +0800 | [diff] [blame] | 6 | romstage-y += media.c |
Jonathan Neuschäfer | 1c09cfa | 2018-04-19 16:23:55 +0200 | [diff] [blame] | 7 | |
Xiang Wang | 411a8b7 | 2019-01-23 11:45:06 +0800 | [diff] [blame] | 8 | ramstage-y += fixup_fdt.c |
Xiang Wang | f4e1583 | 2019-05-29 15:39:48 +0800 | [diff] [blame] | 9 | ramstage-y += media.c |
Xiang Wang | 411a8b7 | 2019-01-23 11:45:06 +0800 | [diff] [blame] | 10 | |
Raul E Rangel | 135bc36 | 2019-07-23 16:58:53 -0600 | [diff] [blame] | 11 | DTB=$(obj)/hifive-unleashed.dtb |
Patrick Rudolph | d589c86 | 2019-08-27 15:07:37 +0200 | [diff] [blame] | 12 | DTS=src/mainboard/sifive/hifive-unleashed/hifive-unleashed-a00.dts |
Xiang Wang | 411a8b7 | 2019-01-23 11:45:06 +0800 | [diff] [blame] | 13 | $(DTB): $(DTS) |
14 | dtc -I dts -O dtb -o $(DTB) $(DTS) | ||||
15 | |||||
16 | cbfs-files-y += fallback/DTB | ||||
17 | fallback/DTB-file := $(DTB) | ||||
18 | fallback/DTB-type := raw |