[coreboot-gerrit] Change in coreboot[master]: mb/cavium/cn8100_sff_evb: Compile devicetree for Linux
Patrick Rudolph (Code Review)
gerrit at coreboot.org
Fri May 11 12:58:12 CEST 2018
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/26229
Change subject: mb/cavium/cn8100_sff_evb: Compile devicetree for Linux
......................................................................
mb/cavium/cn8100_sff_evb: Compile devicetree for Linux
Compile the linux devicetree using dtc and add it to CBFS.
Change-Id: I8a98ed7b128f65a6e0109963dbabca91563a315c
Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
---
M src/mainboard/cavium/cn8100_sff_evb/Makefile.inc
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/26229/1
diff --git a/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc b/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc
index f933ea7..eb53be0 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc
+++ b/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc
@@ -30,3 +30,14 @@
verstage-y += reset.c
verstage-y += memlayout.ld
+MB_DIR = src/mainboard/$(MAINBOARDDIR)
+
+LINUX_DTB = sff8104-linux.dtb
+build/$(LINUX_DTB):
+ # FIXME: why isn't this producing the correct size DTB?
+ dtc -p 4096 -I dts -O dtb -o build/$(LINUX_DTB) -i $(MB_DIR) $(MB_DIR)/$(patsubst %.dtb,%.dts,$(LINUX_DTB))
+
+cbfs-files-y += $(LINUX_DTB)
+$(LINUX_DTB)-file := build/$(LINUX_DTB)
+$(LINUX_DTB)-type := raw
+
--
To view, visit https://review.coreboot.org/26229
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a98ed7b128f65a6e0109963dbabca91563a315c
Gerrit-Change-Number: 26229
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180511/930ca172/attachment.html>
More information about the coreboot-gerrit
mailing list