Signed-off-by: Marc Jones <[email protected]>
Fix CPUID typo. This caused fid to memory speed calculations to be off.

Signed-off-by: Marc Jones <[email protected]>

Index: coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c
===================================================================
--- coreboot-v2.orig/src/northbridge/amd/amdk8/raminit_f.c	2009-03-19 14:18:36.000000000 -0600
+++ coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c	2009-03-19 15:30:33.000000000 -0600
@@ -1655,7 +1655,7 @@
 
 	/* Check for FID control support */
 	struct cpuid_result cpuid1;
-	cpuid1 = cpuid(0x8000007);
+	cpuid1 = cpuid(0x80000007);
 	if( cpuid1.edx & 0x02 ) {
 		/* Use current FID */
 		unsigned fid_cur;
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to