[coreboot-gerrit] Change in coreboot[master]: cpu/amd/amdfam15: Add misc. SMM definitions

Marshall Dawson (Code Review) gerrit at coreboot.org
Tue Sep 12 00:36:30 CEST 2017


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

-- 
To view, visit https://review.coreboot.org/21500
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad702bbdb459a09f9fef60d8280bb2684e365f4b
Gerrit-Change-Number: 21500
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170911/600e0cf7/attachment.html>


More information about the coreboot-gerrit mailing list