aboutsummaryrefslogtreecommitdiff
path: root/src/include/cbmem.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-15 06:08:15 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-17 00:19:08 +0200
commita969ed34dbaebc595e298f60810669f0e8a3bcd2 (patch)
treef55750965fb4f87db09d73e4571f28eb20a59964 /src/include/cbmem.h
parent465eff61f4f0f730476aa7afe8819f1e6b118068 (diff)
Move definitions of HIGH_MEMORY_SAVE
This is more of ACPI S3 resume and x86 definition than CBMEM. Change-Id: Iffbfb2e30ab5ea0b736e5626f51c86c7452f3129 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15190 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/cbmem.h')
-rw-r--r--src/include/cbmem.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index 524bfb5748..2182ce7a46 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -19,14 +19,6 @@
#include <commonlib/cbmem_id.h>
#include <rules.h>
-
-#if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) && \
- ! IS_ENABLED(CONFIG_RELOCATABLE_RAMSTAGE)
-#define HIGH_MEMORY_SAVE (CONFIG_RAMTOP - CONFIG_RAMBASE)
-#else
-#define HIGH_MEMORY_SAVE 0
-#endif
-
/* Delegation of resume backup memory so we don't have to
* (slowly) handle backing up OS memory in romstage.c
*/