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>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4021 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Marc Jones 2009-03-20 16:03:37 +00:00 committed by Marc Jones
parent 5182f67590
commit 2f4979f347
2 changed files with 2 additions and 2 deletions

View File

@ -1655,7 +1655,7 @@ static uint8_t get_exact_divisor(int i, uint8_t divisor)
/* 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;

View File

@ -426,7 +426,7 @@ static uint16_t get_exact_T1000(unsigned i)
/* 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;