<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22952">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">WIP soc/amd/common: Move LateInit earlier<br><br>Move agesawrapper_post_device() to the entry of BS_POST_DEVICE.  A<br>subsequent patch will use the new drivers/mrc_cache, and the latest<br>it may write to flash is the exit of BS_POST_DEVICE.  To ensure the<br>S3 data is stashed in time, the calls are moved earlier.<br><br>Change-Id: Ia00c7b53e010679f51bd7f78f67382941bac4b33<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/soc/amd/common/block/pi/amd_late_init.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/52/22952/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/amd/common/block/pi/amd_late_init.c b/src/soc/amd/common/block/pi/amd_late_init.c</span><br><span>index 3eb3674..5f4be93 100644</span><br><span>--- a/src/soc/amd/common/block/pi/amd_late_init.c</span><br><span>+++ b/src/soc/amd/common/block/pi/amd_late_init.c</span><br><span>@@ -36,5 +36,5 @@</span><br><span>      do_agesawrapper(agesawrapper_amdS3Save, "amdS3Save");</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_EXIT,</span><br><span style="color: hsl(120, 100%, 40%);">+BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_ENTRY,</span><br><span>                        agesawrapper_post_device, NULL);</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/22952">change 22952</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/22952"/><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: Ia00c7b53e010679f51bd7f78f67382941bac4b33 </div>
<div style="display:none"> Gerrit-Change-Number: 22952 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>