From b032db2725dcd440811465f674e93f6c3a0a2573 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 7 May 2020 08:12:52 -0600 Subject: [PATCH] x86: mtrr: Drop the mask display when changing an mtrr We don't need to print this information since it is shown when the MTRRs are displayed. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- cmd/x86/mtrr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/x86/mtrr.c b/cmd/x86/mtrr.c index 2c40e711a1..084d7315f4 100644 --- a/cmd/x86/mtrr.c +++ b/cmd/x86/mtrr.c @@ -73,7 +73,6 @@ static int do_mtrr_set(uint reg, int argc, char *const argv[]) if (valid) mask |= MTRR_PHYS_MASK_VALID; - printf("base=%llx, mask=%llx\n", base, mask); mtrr_open(&state, true); wrmsrl(MTRR_PHYS_BASE_MSR(reg), base); wrmsrl(MTRR_PHYS_MASK_MSR(reg), mask); -- 2.39.5