On Thu, Mar 19, 2009 at 03:36:39PM -0600, Marc Jones wrote:
> Signed-off-by: Marc Jones <[email protected]>

Boot tested on Supermicro H8DME.

Acked-by: Ward Vandewege <[email protected]>

Thanks,
Ward.

> 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
> 
> !DSPAM:49c2bb13296901804284693!

-- 
First Annual Libre Planet on March 21/22 2009: http://fsf.org/conference
Ward Vandewege <[email protected]>
Free Software Foundation - Senior Systems Administrator

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to