summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-18 09:10:53 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-07-03 09:46:50 +0200
commite1b468e1a7cbea55108fb106105612e1f50c9487 (patch)
tree91d79aab170c0112595a2c073187affa36c6b4bc /src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c
parentadf3d6ff52eb674267eacbf37f811c7144e857b3 (diff)
AGESA boards: Use acpi_s3_resume_allowed()
This adds use of BROKEN_CAR_MIGRATE to include CBMEM symbols for the build of romstage also for boards without HAVE_ACPI_RESUME. These symbols got exposed as the use of preprocessor directives was reduced. We expect the linker to do a fair job and optimize away function bodies that are on unreachable execution paths. Change-Id: Ibf5181d3eecb87ce647abe0be01072594b05aa5f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6067 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c')
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c
index 0174d429a8..23cdbfa28e 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c
@@ -436,7 +436,6 @@ agesawrapper_amdlaterunaptask (
return (UINT32)Status;
}
-#if CONFIG_HAVE_ACPI_RESUME
UINT32 agesawrapper_amdinitresume(VOID)
{
@@ -640,7 +639,6 @@ UINT32 agesawrapper_amdS3Save(VOID)
}
#endif /* #ifndef __PRE_RAM__ */
-#endif /* CONFIG_HAVE_ACPI_RESUME */
UINT32
agesawrapper_amdreadeventlog (