<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28003">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[HACK]cavium/cn81xx/soc: Don't advertise CAR area as usable<br><br>It's broken.<br><br>Change-Id: I3ec8fff99e21cbdf4ad3f4562ff9bbc1cd3c135b<br>Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com><br>---<br>M src/soc/cavium/cn81xx/soc.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/28003/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c</span><br><span>index 9dbbcbf..b575ca4 100644</span><br><span>--- a/src/soc/cavium/cn81xx/soc.c</span><br><span>+++ b/src/soc/cavium/cn81xx/soc.c</span><br><span>@@ -314,7 +314,8 @@</span><br><span> </span><br><span> static void soc_read_resources(device_t dev)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-   ram_resource(dev, 0, (uintptr_t)_dram / KiB, sdram_size_mb() * KiB);</span><br><span style="color: hsl(120, 100%, 40%);">+  // HACK: Don't advertise bootblock romstage CAR region, it's broken...</span><br><span style="color: hsl(120, 100%, 40%);">+        ram_resource(dev, 0, 2 * KiB, sdram_size_mb() * KiB - 2 * KiB);</span><br><span> }</span><br><span> </span><br><span> static void soc_init_atf(void)</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28003">change 28003</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/28003"/><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: I3ec8fff99e21cbdf4ad3f4562ff9bbc1cd3c135b </div>
<div style="display:none"> Gerrit-Change-Number: 28003 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com> </div>