diff options
Diffstat (limited to 'src/mainboard/sifive/hifive-unleashed/Makefile.inc')
-rw-r--r-- | src/mainboard/sifive/hifive-unleashed/Makefile.inc | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/Makefile.inc b/src/mainboard/sifive/hifive-unleashed/Makefile.inc index 27ddcbad87..263297eb74 100644 --- a/src/mainboard/sifive/hifive-unleashed/Makefile.inc +++ b/src/mainboard/sifive/hifive-unleashed/Makefile.inc @@ -11,8 +11,20 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -romstage-y += romstage.c - bootblock-y += memlayout.ld + romstage-y += memlayout.ld +romstage-y += romstage.c + ramstage-y += memlayout.ld +ramstage-y += fixup_fdt.c + + +DTB=build/hifive-unleashed.dtb +DTS=src/mainboard/sifive/hifive-unleashed/hifive-unleashed.dts +$(DTB): $(DTS) + dtc -I dts -O dtb -o $(DTB) $(DTS) + +cbfs-files-y += fallback/DTB +fallback/DTB-file := $(DTB) +fallback/DTB-type := raw |