summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/amd/amdk8/raminit_f.c2
-rw-r--r--src/northbridge/amd/amdk8/raminit_f_dqs.c2
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;