<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26229">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/cavium/cn8100_sff_evb: Compile devicetree for Linux<br><br>Compile the linux devicetree using dtc and add it to CBFS.<br><br>Change-Id: I8a98ed7b128f65a6e0109963dbabca91563a315c<br>Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com><br>---<br>M src/mainboard/cavium/cn8100_sff_evb/Makefile.inc<br>1 file changed, 11 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/26229/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc b/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc</span><br><span>index f933ea7..eb53be0 100644</span><br><span>--- a/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc</span><br><span>+++ b/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc</span><br><span>@@ -30,3 +30,14 @@</span><br><span> verstage-y += reset.c</span><br><span> verstage-y += memlayout.ld</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+MB_DIR = src/mainboard/$(MAINBOARDDIR)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+LINUX_DTB = sff8104-linux.dtb</span><br><span style="color: hsl(120, 100%, 40%);">+build/$(LINUX_DTB):</span><br><span style="color: hsl(120, 100%, 40%);">+      # FIXME: why isn't this producing the correct size DTB?</span><br><span style="color: hsl(120, 100%, 40%);">+   dtc -p 4096 -I dts -O dtb -o build/$(LINUX_DTB) -i $(MB_DIR) $(MB_DIR)/$(patsubst %.dtb,%.dts,$(LINUX_DTB))</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+cbfs-files-y += $(LINUX_DTB)</span><br><span style="color: hsl(120, 100%, 40%);">+$(LINUX_DTB)-file := build/$(LINUX_DTB)</span><br><span style="color: hsl(120, 100%, 40%);">+$(LINUX_DTB)-type := raw</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26229">change 26229</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/26229"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I8a98ed7b128f65a6e0109963dbabca91563a315c </div>
<div style="display:none"> Gerrit-Change-Number: 26229 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com> </div>