[coreboot-gerrit] Change in ...coreboot[master]: soc/intel/apollolake: Print ME version on exit of BS_DEV_INIT stage
Karthik Ramasubramanian (Code Review)
gerrit at coreboot.org
Thu Dec 6 07:02:05 CET 2018
Hello Karthikeyan Ramasubramanian,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/30074
to review the following change.
Change subject: soc/intel/apollolake: Print ME version on exit of BS_DEV_INIT stage
......................................................................
soc/intel/apollolake: Print ME version on exit of BS_DEV_INIT stage
Print ME version on exit of BS_DEV_INIT stage so that the HECI device
stays in D3 state as configured by FSP.
BRANCH=octopus
BUG=b:120571529
TEST=Ensure that the ME version gets printed in BIOS logs. Ensure that
the device boots to ChromeOS. Ensure that the device enters S0ix
successfully(using suspend_stress_test -c 25).
Change-Id: I85bc45003a040c8347f929457792d78a9a077c6c
Signed-off-by: Karthikeyan Ramasubramanian <kramasub at google.com>
---
M src/soc/intel/apollolake/cse.c
1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/30074/1
diff --git a/src/soc/intel/apollolake/cse.c b/src/soc/intel/apollolake/cse.c
index 26249bc..d761a6c 100644
--- a/src/soc/intel/apollolake/cse.c
+++ b/src/soc/intel/apollolake/cse.c
@@ -195,7 +195,7 @@
return reg;
}
-static void dump_cse_version(void)
+static void dump_cse_version(void *unused)
{
int res;
size_t reply_size;
@@ -282,8 +282,6 @@
printk(BIOS_DEBUG, "unknown");
}
printk(BIOS_DEBUG, "\n");
-
- dump_cse_version();
}
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
@@ -307,3 +305,4 @@
}
BOOT_STATE_INIT_ENTRY(BS_DEV_INIT, BS_ON_ENTRY, fpf_blown, NULL);
+BOOT_STATE_INIT_ENTRY(BS_DEV_INIT, BS_ON_EXIT, dump_cse_version, NULL);
--
To view, visit https://review.coreboot.org/c/coreboot/+/30074
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I85bc45003a040c8347f929457792d78a9a077c6c
Gerrit-Change-Number: 30074
Gerrit-PatchSet: 1
Gerrit-Owner: Karthik Ramasubramanian <kramasub at google.com>
Gerrit-Reviewer: Karthikeyan Ramasubramanian <kramasub at chromium.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181206/49136d3f/attachment-0001.html>
More information about the coreboot-gerrit
mailing list