X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fmtrr.h;h=3ad617cb4a31ba127d6172267c853b985ee7b0a0;hb=1131d4e22cf8f13d0dabaad7f1b84d9baffdfbd6;hp=3841593cd5fa7ee9038e7718a086f07aff817b5b;hpb=1a06d2a3106f9de5a4b9bec68593593fcf930e3b;p=u-boot diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h index 3841593cd5..3ad617cb4a 100644 --- a/arch/x86/include/asm/mtrr.h +++ b/arch/x86/include/asm/mtrr.h @@ -34,8 +34,10 @@ /* Number of MTRRs supported */ #define MTRR_COUNT 8 -#define NUM_FIXED_RANGES 88 -#define RANGES_PER_FIXED_MTRR 8 +#define NUM_FIXED_MTRRS 11 +#define RANGES_PER_FIXED_MTRR 8 +#define NUM_FIXED_RANGES (NUM_FIXED_MTRRS * RANGES_PER_FIXED_MTRR) + #define MTRR_FIX_64K_00000_MSR 0x250 #define MTRR_FIX_16K_80000_MSR 0x258 #define MTRR_FIX_16K_A0000_MSR 0x259