diff options
-rw-r--r-- | src/include/cpu/x86/tsc.h | 2 | ||||
-rw-r--r-- | src/northbridge/intel/fsp_rangeley/udelay.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/include/cpu/x86/tsc.h b/src/include/cpu/x86/tsc.h index 4cf4fbc5b0..35c8a820d5 100644 --- a/src/include/cpu/x86/tsc.h +++ b/src/include/cpu/x86/tsc.h @@ -11,6 +11,8 @@ #define TSC_SYNC #endif +#define MSR_PLATFORM_INFO 0xce + struct tsc_struct { unsigned int lo; unsigned int hi; diff --git a/src/northbridge/intel/fsp_rangeley/udelay.c b/src/northbridge/intel/fsp_rangeley/udelay.c index 5aca22974f..01989abb37 100644 --- a/src/northbridge/intel/fsp_rangeley/udelay.c +++ b/src/northbridge/intel/fsp_rangeley/udelay.c @@ -43,7 +43,7 @@ void udelay(u32 us) u32 fsb = 100, divisor; u32 d; /* ticks per us */ - msr = rdmsr(0xce); + msr = rdmsr(MSR_PLATFORM_INFO); divisor = (msr.lo >> 8) & 0xff; d = fsb * divisor; |