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:
@@ -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
|
||||
|
Reference in New Issue
Block a user