[PATCH 4/5] x86: Add support for more than 8 MTRRs
Bin Meng
bmeng.cn at gmail.com
Tue Sep 22 10:33:42 CEST 2020
On Sun, Sep 20, 2020 at 11:49 PM Simon Glass <sjg at chromium.org> wrote:
>
> At present the mtrr command only support 8 MTRRs. Some SoCs have more than
> that. Update the implementation to support up to 10. Read the number of
> MTRRs dynamically instead.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/x86/cpu/mtrr.c | 12 +++++++-----
> arch/x86/include/asm/mtrr.h | 15 ++++++++++++---
> cmd/x86/mtrr.c | 9 +++++----
> 3 files changed, 24 insertions(+), 12 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list