
22 Sep
2020
22 Sep
'20
10:33 a.m.
On Sun, Sep 20, 2020 at 11:49 PM Simon Glass sjg@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@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@gmail.com