[PATCH] x86: mtrr: Drop the mask display when changing an mtrr

Simon Glass sjg at chromium.org
Thu May 7 16:12:52 CEST 2020


We don't need to print this information since it is shown when the MTRRs
are displayed. Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/x86/mtrr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmd/x86/mtrr.c b/cmd/x86/mtrr.c
index d3fd959235..ac36a40854 100644
--- a/cmd/x86/mtrr.c
+++ b/cmd/x86/mtrr.c
@@ -72,7 +72,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.26.2.645.ge9eca65c58-goog



More information about the U-Boot mailing list