<p>Tristan Corrick has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/29389">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sb/intel/lynxpoint: Include <stdint.h> to fix compilation errors<br><br>If the file `southbridge/intel/lynxpoint/nvs.h` is included in a file<br>that does not already include <stdint.h>, compilation errors result.<br><br>Adding the necessary <stdint.h> inclusions fixes compilation for an<br>ASRock H81M-HDS.<br><br>Change-Id: Id0d14705282cc959146e00dd47754ee8a2e8e825<br>Signed-off-by: Tristan Corrick <tristan@corrick.kiwi><br>---<br>M src/southbridge/intel/lynxpoint/nvs.h<br>M src/vendorcode/google/chromeos/gnvs.h<br>2 files changed, 3 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/89/29389/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/southbridge/intel/lynxpoint/nvs.h b/src/southbridge/intel/lynxpoint/nvs.h</span><br><span>index 397cdf2..a8f0dea 100644</span><br><span>--- a/src/southbridge/intel/lynxpoint/nvs.h</span><br><span>+++ b/src/southbridge/intel/lynxpoint/nvs.h</span><br><span>@@ -15,6 +15,7 @@</span><br><span>  */</span><br><span> </span><br><span> #include <commonlib/helpers.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <stdint.h></span><br><span> #include "vendorcode/google/chromeos/gnvs.h"</span><br><span> </span><br><span> typedef struct global_nvs_t {</span><br><span>diff --git a/src/vendorcode/google/chromeos/gnvs.h b/src/vendorcode/google/chromeos/gnvs.h</span><br><span>index 7e97bfa..76ca20c 100644</span><br><span>--- a/src/vendorcode/google/chromeos/gnvs.h</span><br><span>+++ b/src/vendorcode/google/chromeos/gnvs.h</span><br><span>@@ -16,6 +16,8 @@</span><br><span> #ifndef __VENDORCODE_GOOGLE_CHROMEOS_GNVS_H</span><br><span> #define __VENDORCODE_GOOGLE_CHROMEOS_GNVS_H</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#include <stdint.h></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> #define BOOT_REASON_OTHER     0</span><br><span> #define BOOT_REASON_S3DIAG 9</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/29389">change 29389</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/29389"/><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: Id0d14705282cc959146e00dd47754ee8a2e8e825 </div>
<div style="display:none"> Gerrit-Change-Number: 29389 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Tristan Corrick <tristan@corrick.kiwi> </div>