diff options
author | Marc Jones <marcj303@gmail.com> | 2009-03-20 16:03:37 +0000 |
---|---|---|
committer | Marc Jones <marc.jones@amd.com> | 2009-03-20 16:03:37 +0000 |
commit | 2f4979f347ea7014786934cccab10772f6a6402a (patch) | |
tree | c000c74b9d355268267b175e208be1dd5cfee94a /src | |
parent | 5182f6759006d969cfd7cb31743c614966d1a53f (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/amd/amdk8/raminit_f.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/raminit_f_dqs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdk8/raminit_f.c b/src/northbridge/amd/amdk8/raminit_f.c index 419b3b437f..b24ef82b7f 100644 --- a/src/northbridge/amd/amdk8/raminit_f.c +++ b/src/northbridge/amd/amdk8/raminit_f.c @@ -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; diff --git a/src/northbridge/amd/amdk8/raminit_f_dqs.c b/src/northbridge/amd/amdk8/raminit_f_dqs.c index 2ba51eff3d..b110480e7c 100644 --- a/src/northbridge/amd/amdk8/raminit_f_dqs.c +++ b/src/northbridge/amd/amdk8/raminit_f_dqs.c @@ -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; |