soc/amd/cezanne/cpu.c: Skip SMMINFO init in S3 resume
SMMINFO is already set up in S5, so it should be skipped in S3 resume BUG=b:194990818 TEST=Build guybrush Change-Id: I30ee6d7006ddac4dbdae9825bd4fa6eac7fd48cb Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63025 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
c35790012f
commit
8e3c6f8d33
|
@ -11,6 +11,7 @@
|
|||
#include <cpu/x86/mp.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/iomap.h>
|
||||
|
@ -37,6 +38,9 @@ static void pre_mp_init(void)
|
|||
static void post_mp_init(void)
|
||||
{
|
||||
global_smi_enable();
|
||||
|
||||
/* SMMINFO only needs to be set up when booting from S5 */
|
||||
if (!acpi_is_wakeup_s3())
|
||||
apm_control(APM_CNT_SMMINFO);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue