From 96508a794969f35f10e8a346c227dfa7a026e9ea Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Sun, 17 Feb 2013 16:25:36 +0800 Subject: AMD S3: Include the s3_resume.h only when S3 is enabled. Change-Id: I9a6c4f61e5dda6665f92c8526bb26a458ee2b739 Signed-off-by: Zheng Bao Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/2384 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Dave Frodin --- src/cpu/amd/agesa/family15tn/model_15_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/amd/agesa/family15tn') diff --git a/src/cpu/amd/agesa/family15tn/model_15_init.c b/src/cpu/amd/agesa/family15tn/model_15_init.c index 39533bb3d6..68cb0d2e84 100644 --- a/src/cpu/amd/agesa/family15tn/model_15_init.c +++ b/src/cpu/amd/agesa/family15tn/model_15_init.c @@ -33,7 +33,9 @@ #include #include #include +#if CONFIG_HAVE_ACPI_RESUME #include +#endif msr_t rdmsr_amd(u32 index) { -- cgit v1.2.3