summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/agesa/s3_resume.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/agesa/s3_resume.h b/src/cpu/amd/agesa/s3_resume.h
index 16ec4115ce..10bc826be6 100644
--- a/src/cpu/amd/agesa/s3_resume.h
+++ b/src/cpu/amd/agesa/s3_resume.h
@@ -20,9 +20,9 @@
#ifndef S3_RESUME_H
#define S3_RESUME_H
-#define S3_DATA_NONVOLATILE_POS 0xFFFF7000
-#define S3_DATA_VOLATILE_POS 0xFFFF0000
-#define S3_DATA_MTRR_POS 0xFFFF6000
+#define S3_DATA_NONVOLATILE_POS (CONFIG_S3_VOLATILE_POS + 0x7000)
+#define S3_DATA_VOLATILE_POS CONFIG_S3_VOLATILE_POS
+#define S3_DATA_MTRR_POS (CONFIG_S3_VOLATILE_POS + 0x6000)
typedef enum {
S3DataTypeNonVolatile=0, ///< NonVolatile Data Type