<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22430">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vendorcode/amd/pi/00670f00: Set ModuleIdentifier to be 8 bytes<br><br>ModuleIdentifier must be 8 bytes.   Every other location else that uses<br>this value explicityly defines it as 8 bytes.  If it's initialized here<br>to less than 8 bytes, it gets passed to those other locations with<br>garbage at the end and fails to load the AGESA binary.<br><br>TEST=Build & boot Kahlee<br>BUG=B:69165234<br><br>Change-Id: I11fc90748f49782e2b16ee5326aee17cfe92d0bc<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c<br>1 file changed, 1 insertion(+), 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/30/22430/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c<br>index 5a41897..ec414b4 100644<br>--- a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c<br>+++ b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c<br>@@ -53,7 +53,7 @@<br> <br> CONST UINT32 ImageSignature = IMAGE_SIGNATURE;<br> CONST UINT32 ModuleSignature = MODULE_SIGNATURE;<br>-CONST CHAR8 ModuleIdentifier[] = AGESA_ID;<br>+CONST CHAR8 ModuleIdentifier[8] = AGESA_ID;<br> <br> /**********************************************************************<br>  * Interface call:  AmdCreateStruct<br></pre><p>To view, visit <a href="https://review.coreboot.org/22430">change 22430</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/22430"/><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: I11fc90748f49782e2b16ee5326aee17cfe92d0bc </div>
<div style="display:none"> Gerrit-Change-Number: 22430 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>