Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/21500
Change subject: cpu/amd/amdfam15: Add misc. SMM definitions ......................................................................
cpu/amd/amdfam15: Add misc. SMM definitions
Add a #define for TSEG as well as some register field definitions.
Change-Id: Iad702bbdb459a09f9fef60d8280bb2684e365f4b Signed-off-by: Marshall Dawson marshalldawson3rd@gmail.com --- M src/include/cpu/amd/amdfam15.h 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/21500/1
diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h index 37fbc49..aac8e9b 100644 --- a/src/include/cpu/amd/amdfam15.h +++ b/src/include/cpu/amd/amdfam15.h @@ -20,8 +20,12 @@
#define MCI_STATUS 0x00000401 #define MSR_SMM_BASE 0xC0010111 +#define MSR_TSEG_BASE 0xC0010112 #define MSR_SMM_MASK 0xC0010113 +# define SMM_TSEG_VALID (1 << 1) +# define SMM_TSEG_WB (6 << 12) #define HWCR_MSR 0xC0010015 +# define SMM_LOCK (1 << 0) #define NB_CFG_MSR 0xC001001f
#define PSTATE_0_MSR 0xC0010064