<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22641">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/common: Add s3_resume.h file<br><br>The common/spi.c file normally isn't built but may be by selecting the<br>right Kconfig symbols.  A build error occurs due to a missing header<br>file.  This may have been an oversight when stoneyridge was converted<br>to soc or when S3 was removed from all binaryPI implementations.<br><br>The spi.c file will be modified in a subsequent patch so it's<br>here maintained and made to build.<br><br>Add the missing file with to allow the file to build.<br><br>TEST: select SPI_FLASH and build Kahlee<br>BUG=b:69930455<br><br>Change-Id: I4ebb3098c6c1f42a94daa9b3d4eb7faa2fdf3f32<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>A src/soc/amd/common/s3_resume.h<br>1 file changed, 21 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/41/22641/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/amd/common/s3_resume.h b/src/soc/amd/common/s3_resume.h<br>new file mode 100644<br>index 0000000..39a0712<br>--- /dev/null<br>+++ b/src/soc/amd/common/s3_resume.h<br>@@ -0,0 +1,21 @@<br>+/*<br>+ * This file is part of the coreboot project.<br>+ *<br>+ * Copyright (C) 2011-2017 Advanced Micro Devices, Inc.<br>+ *<br>+ * This program is free software; you can redistribute it and/or modify<br>+ * it under the terms of the GNU General Public License as published by<br>+ * the Free Software Foundation; version 2 of the License.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>+ * GNU General Public License for more details.<br>+ */<br>+<br>+#ifndef __S3_RESUME_H__<br>+#define __S3_RESUME_H__<br>+<br>+void spi_SaveS3info(u32 pos, u32 size, u8 *buf, u32 len);<br>+<br>+#endif /* __S3_RESUME_H__ */<br></pre><p>To view, visit <a href="https://review.coreboot.org/22641">change 22641</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/22641"/><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: I4ebb3098c6c1f42a94daa9b3d4eb7faa2fdf3f32 </div>
<div style="display:none"> Gerrit-Change-Number: 22641 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>