projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix CPUID typo. This caused fid to memory speed calculations to be off.
[coreboot.git]
/
src
/
northbridge
/
amd
/
amdk8
/
raminit_f.c
diff --git
a/src/northbridge/amd/amdk8/raminit_f.c
b/src/northbridge/amd/amdk8/raminit_f.c
index 419b3b437f29af4693a2799dc8b95881c2465475..b24ef82b7f5bf5f23390bec5fb71037e1ccc553b 100644
(file)
--- 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(0x800000
0
7);
if( cpuid1.edx & 0x02 ) {
/* Use current FID */
unsigned fid_cur;