summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorWolfgang Wallner <wolfgang.wallner@br-automation.com>2021-03-23 12:39:09 +0300
committerBin Meng <bmeng.cn@gmail.com>2021-04-15 05:43:17 +0300
commit21296b093e90d9dbe99b7b23bc9dcad79d824034 (patch)
treecbca6ea36de46b723115f70f3e206422df0e9f33 /arch/x86
parentda35d7af335a5be3ae5033a44f0e8b536c38dce7 (diff)
downloadu-boot-21296b093e90d9dbe99b7b23bc9dcad79d824034.tar.xz
x86: mtrr: Fix function descriptions
Fix copy/paste errors in the descriptions of mtrr_close () and mtrr_set(). Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/mtrr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h
index 3a98aacdef..384672e93f 100644
--- a/arch/x86/include/asm/mtrr.h
+++ b/arch/x86/include/asm/mtrr.h
@@ -103,7 +103,7 @@ struct mtrr_info {
void mtrr_open(struct mtrr_state *state, bool do_caches);
/**
- * mtrr_open() - Clean up after adjusting MTRRs, and enable them
+ * mtrr_close() - Clean up after adjusting MTRRs, and enable them
*
* This uses the structure containing information returned from mtrr_open().
*
@@ -170,7 +170,7 @@ void mtrr_read_all(struct mtrr_info *info);
int mtrr_set_valid(int cpu_select, int reg, bool valid);
/**
- * mtrr_set() - Set the valid flag for a selected MTRR and CPU(s)
+ * mtrr_set() - Set the base address and mask for a selected MTRR and CPU(s)
*
* @cpu_select: Selected CPUs (either a CPU number or MP_SELECT_...)
* @reg: MTRR register to write (0-7)