[coreboot-gerrit] Change in coreboot[master]: WIP soc/amd/common: Move LateInit earlier
Marshall Dawson (Code Review)
gerrit at coreboot.org
Wed Dec 20 01:13:47 CET 2017
Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/22952
Change subject: WIP soc/amd/common: Move LateInit earlier
......................................................................
WIP soc/amd/common: Move LateInit earlier
Move agesawrapper_post_device() to the entry of BS_POST_DEVICE. A
subsequent patch will use the new drivers/mrc_cache, and the latest
it may write to flash is the exit of BS_POST_DEVICE. To ensure the
S3 data is stashed in time, the calls are moved earlier.
Change-Id: Ia00c7b53e010679f51bd7f78f67382941bac4b33
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
M src/soc/amd/common/block/pi/amd_late_init.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/22952/1
diff --git a/src/soc/amd/common/block/pi/amd_late_init.c b/src/soc/amd/common/block/pi/amd_late_init.c
index 3eb3674..5f4be93 100644
--- a/src/soc/amd/common/block/pi/amd_late_init.c
+++ b/src/soc/amd/common/block/pi/amd_late_init.c
@@ -36,5 +36,5 @@
do_agesawrapper(agesawrapper_amdS3Save, "amdS3Save");
}
-BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_EXIT,
+BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_ENTRY,
agesawrapper_post_device, NULL);
--
To view, visit https://review.coreboot.org/22952
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia00c7b53e010679f51bd7f78f67382941bac4b33
Gerrit-Change-Number: 22952
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171220/6b302816/attachment.html>
More information about the coreboot-gerrit
mailing list