x86: mtrr: Update the command to use the new mtrr calls
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:27 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:47 +0000 (09:46 +0800)
commite68b12805b65031e06a97a2257f1ad17a1c38ae4
tree3fbc8f9273a942ee0d4c0bd99cd60fdae2c6d4d8
parent8dda2baa976a3b4caa9c6e52a861adb0431f7dbf
x86: mtrr: Update the command to use the new mtrr calls

Use the multi-CPU calls to set the MTRR values. This still supports only
the boot CPU for now.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/x86/mtrr.c