]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: mtrr: Drop the mask display when changing an mtrr
authorSimon Glass <sjg@chromium.org>
Thu, 7 May 2020 14:12:52 +0000 (08:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/x86/mtrr.c

index 2c40e711a1db3208d40004a0f50604d5f0cb9b08..084d7315f43e84378d58636ebad2a7fce2cf18ff 100644 (file)
@@ -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);