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@hetnet.nl> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5008 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		
				
					committed by
					
						
						Stefan Reinauer
					
				
			
			
				
	
			
			
			
						parent
						
							90b96b68e0
						
					
				
				
					commit
					58a901f6f9
				
			@@ -26,7 +26,7 @@ PREFIX  = @PREFIX@
 | 
			
		||||
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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -40,6 +40,7 @@ uint8_t reserved = 0, verbose = 0, quiet = 0;
 | 
			
		||||
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 },
 | 
			
		||||
 
 | 
			
		||||
@@ -198,6 +198,10 @@ extern int freebsd_rdmsr(uint8_t cpu, uint32_t addr, struct msr *val);
 | 
			
		||||
 | 
			
		||||
/** 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[];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user