Author: mjones Date: 2009-03-20 17:03:37 +0100 (Fri, 20 Mar 2009) New Revision: 4021
Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c Log: Fix CPUID typo. This caused fid to memory speed calculations to be off.
Signed-off-by: Marc Jones marcj303@gmail.com Acked-by: Ward Vandewege ward@gnu.org
Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c 2009-03-19 12:18:13 UTC (rev 4020) +++ trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f.c 2009-03-20 16:03:37 UTC (rev 4021) @@ -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;
Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c 2009-03-19 12:18:13 UTC (rev 4020) +++ trunk/coreboot-v2/src/northbridge/amd/amdk8/raminit_f_dqs.c 2009-03-20 16:03:37 UTC (rev 4021) @@ -426,7 +426,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;