<p>Keith Hui has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21502">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cpu/intel/car/cache_as_ram.inc: Remove unused code<br><br>Remove CAR testing code currently blocked out by #if. Newer CAR code<br>don't even do it anymore.<br><br>Change-Id: I2d53b4e7a244824c7aa2c0f597ed91e17f6cc668<br>Signed-off-by: Keith Hui <buurin@gmail.com><br>---<br>M src/cpu/intel/car/cache_as_ram.inc<br>1 file changed, 0 insertions(+), 44 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/21502/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/cpu/intel/car/cache_as_ram.inc b/src/cpu/intel/car/cache_as_ram.inc<br>index baa10c0..7cf55b3 100644<br>--- a/src/cpu/intel/car/cache_as_ram.inc<br>+++ b/src/cpu/intel/car/cache_as_ram.inc<br>@@ -187,50 +187,6 @@<br>       xorl    %eax, %eax<br>    rep     stosl<br> <br>-#if 0<br>-     /* Check the cache as ram. */<br>-        movl    $CacheBase, %esi<br>-     movl    $(CacheSize >> 2), %ecx<br>-.xin1:<br>-       movl    %esi, %eax<br>-   movl    %eax, (%esi)<br>- decl    %ecx<br>- je      .xout1<br>-       add     $4, %esi<br>-     jmp     .xin1<br>-.xout1:<br>-<br>-   movl    $CacheBase, %esi<br>-     // movl $(CacheSize >> 2), %ecx<br>-        movl    $4, %ecx<br>-.xin1x:<br>-   movl    %esi, %eax<br>-<br>-        movl    $0x4000, %edx<br>-        movb    %ah, %al<br>-.testx1:<br>-  outb    %al, $0x80<br>-   decl    %edx<br>- jnz     .testx1<br>-<br>-   movl    (%esi), %eax<br>- cmpb    0xff, %al<br>-    je      .xin2   /* Don't show. */<br>-<br>-     movl    $0x4000, %edx<br>-.testx2:<br>-     outb    %al, $0x80<br>-   decl    %edx<br>- jnz     .testx2<br>-<br>-.xin2:<br>-  decl    %ecx<br>- je      .xout1x<br>-      add     $4, %esi<br>-     jmp     .xin1x<br>-.xout1x:<br>-#endif<br>-<br>         movl    $(CacheBase + CacheSize - 4), %eax<br>    movl    %eax, %esp<br> lout:<br></pre><p>To view, visit <a href="https://review.coreboot.org/21502">change 21502</a>. To unsubscribe, 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/21502"/><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: I2d53b4e7a244824c7aa2c0f597ed91e17f6cc668 </div>
<div style="display:none"> Gerrit-Change-Number: 21502 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Keith Hui <buurin@gmail.com> </div>