From e1b468e1a7cbea55108fb106105612e1f50c9487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 18 Jun 2014 09:10:53 +0300 Subject: AGESA boards: Use acpi_s3_resume_allowed() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/6067 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c') diff --git a/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c b/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c index 7cd389938f..ed70fc8d00 100644 --- a/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c +++ b/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c @@ -394,7 +394,6 @@ AGESA_STATUS agesawrapper_amdinitlate(void) return status; } -#if CONFIG_HAVE_ACPI_RESUME AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; @@ -517,7 +516,6 @@ AGESA_STATUS agesawrapper_amdS3Save(void) return status; } #endif /* #ifndef __PRE_RAM__ */ -#endif /* CONFIG_HAVE_ACPI_RESUME */ AGESA_STATUS agesawrapper_amdlaterunaptask ( uint32_t Func, -- cgit v1.2.3