mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
AMD S3: Include the s3_resume.h only when S3 is enabled.
Change-Id: I9a6c4f61e5dda6665f92c8526bb26a458ee2b739 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/2384 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
This commit is contained in:
parent
7b6945405a
commit
96508a7949
2 changed files with 4 additions and 0 deletions
|
@ -33,7 +33,9 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/amdfam14.h>
|
||||
#include <arch/acpi.h>
|
||||
#if CONFIG_HAVE_ACPI_RESUME
|
||||
#include <cpu/amd/agesa/s3_resume.h>
|
||||
#endif
|
||||
|
||||
#define MCI_STATUS 0x401
|
||||
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/amdfam15.h>
|
||||
#include <arch/acpi.h>
|
||||
#if CONFIG_HAVE_ACPI_RESUME
|
||||
#include <cpu/amd/agesa/s3_resume.h>
|
||||
#endif
|
||||
|
||||
msr_t rdmsr_amd(u32 index)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue