[coreboot-gerrit] Change in coreboot[master]: WIP amd/stoneyridge: Add placeholder for SlpTyp handler in SMI
Marshall Dawson (Code Review)
gerrit at coreboot.org
Thu Sep 28 18:28:16 CEST 2017
Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/21751
Change subject: WIP amd/stoneyridge: Add placeholder for SlpTyp handler in SMI
......................................................................
WIP amd/stoneyridge: Add placeholder for SlpTyp handler in SMI
The S3 suspend flow involves trapping on a SlpTyp request, writing
resume data to flash, then notifying the PSP of the S3 request.
Change-Id: I88d413cdbfc2daf44e8d1142c6532f7034795ead
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
M src/soc/amd/stoneyridge/smihandler.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/21751/1
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c
index 8551631..2c2bac9 100644
--- a/src/soc/amd/stoneyridge/smihandler.c
+++ b/src/soc/amd/stoneyridge/smihandler.c
@@ -41,6 +41,11 @@
mainboard_smi_apmc(cmd);
}
+static void sb_slp_typ_handler(void)
+{
+ /* TODO: Insert S3 pre here */
+}
+
int southbridge_io_trap_handler(int smif)
{
return 0;
@@ -52,6 +57,7 @@
*/
struct smi_sources_t smi_sources[] = {
{SMITYPE_SMI_CMD_PORT, sb_apmc_smi_handler},
+ {SMITYPE_SLP_TYP, sb_slp_typ_handler},
};
static void process_smi_sci(void)
--
To view, visit https://review.coreboot.org/21751
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88d413cdbfc2daf44e8d1142c6532f7034795ead
Gerrit-Change-Number: 21751
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/20170928/08eb9d02/attachment.html>
More information about the coreboot-gerrit
mailing list