[coreboot] [commit] r5008 - trunk/util/msrtool

svn at coreboot.org svn at coreboot.org
Fri Jan 15 11:06:39 CET 2010


Author: stepan
Date: 2010-01-15 11:06:39 +0100 (Fri, 15 Jan 2010)
New Revision: 5008

Modified:
   trunk/util/msrtool/Makefile.in
   trunk/util/msrtool/msrtool.c
   trunk/util/msrtool/msrtool.h
Log:
Support for the AMD Geode GX2 
Processors to Msrtool.
It seems to work as it was tested on a Wyse Winterm S50.

Signed-off-by: Nils Jacobs <njacobs8 at hetnet.nl>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/util/msrtool/Makefile.in
===================================================================
--- trunk/util/msrtool/Makefile.in	2010-01-13 21:00:23 UTC (rev 5007)
+++ trunk/util/msrtool/Makefile.in	2010-01-15 10:06:39 UTC (rev 5008)
@@ -26,7 +26,7 @@
 CFLAGS  = @CFLAGS@
 LDFLAGS = @LDFLAGS@
 
-TARGETS = geodelx.o cs5536.o k8.o
+TARGETS = geodegx2.o geodelx.o cs5536.o k8.o
 SYSTEMS = linux.o darwin.o freebsd.o
 OBJS    = $(PROGRAM).o msrutils.o sys.o $(SYSTEMS) $(TARGETS)
 

Modified: trunk/util/msrtool/msrtool.c
===================================================================
--- trunk/util/msrtool/msrtool.c	2010-01-13 21:00:23 UTC (rev 5007)
+++ trunk/util/msrtool/msrtool.c	2010-01-15 10:06:39 UTC (rev 5008)
@@ -40,6 +40,7 @@
 struct pci_access *pacc = NULL;
 
 static struct targetdef alltargets[] = {
+	{ "geodegx2", "AMD Geode(tm) GX2", geodegx2_probe, geodegx2_msrs },
 	{ "geodelx", "AMD Geode(tm) LX", geodelx_probe, geodelx_msrs },
 	{ "cs5536", "AMD Geode(tm) CS5536", cs5536_probe, cs5536_msrs },
 	{ "K8", "AMD K8 Family", k8_probe, k8_msrs },

Modified: trunk/util/msrtool/msrtool.h
===================================================================
--- trunk/util/msrtool/msrtool.h	2010-01-13 21:00:23 UTC (rev 5007)
+++ trunk/util/msrtool/msrtool.h	2010-01-15 10:06:39 UTC (rev 5008)
@@ -198,6 +198,10 @@
 
 /** target externs **/
 
+/* geodegx2.c */
+extern int geodegx2_probe(const struct targetdef *t);
+extern const struct msrdef geodegx2_msrs[];
+
 /* geodelx.c */
 extern int geodelx_probe(const struct targetdef *t);
 extern const struct msrdef geodelx_msrs[];





More information about the coreboot mailing list