AMD S3: Remove the hardcoded volatile position

Change-Id: I4bcf3f3435f0ba487955d14ed1b010fd94b9f625
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1408
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
zbao
2012-08-05 11:46:23 +08:00
committed by Alexandru Gagniuc
parent 695cc769e6
commit f85398c3ab
3 changed files with 10 additions and 5 deletions

View File

@@ -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