Fix CPUID typo. This caused fid to memory speed calculations to be off.
[coreboot.git] / src / northbridge / amd / amdk8 / raminit_f.c
index 419b3b437f29af4693a2799dc8b95881c2465475..b24ef82b7f5bf5f23390bec5fb71037e1ccc553b 100644 (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;