]> git.sur5r.net Git - u-boot/commit
x86: Add an 'mtrr' command to list and adjust MTRRs
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:18:15 +0000 (16:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:25:02 +0000 (07:25 -0800)
commitcb3b2e62caa7b87ed727d690c5a8bd1e003ab601
tree53f5d096dcfa5c0cf4b46a50e744f88a88e59099
parentc72f74e2780350f16795dc4d69145b9c87cb3e97
x86: Add an 'mtrr' command to list and adjust MTRRs

It is useful to be able to see the MTRR setup in U-Boot. Add a command
to list the state of the variable MTRR registers and allow them to be
changed.

Update the documentation to list some of the available commands.

This does not support fixed MTRRs as yet.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/Makefile
arch/x86/lib/cmd_mtrr.c [new file with mode: 0644]
doc/README.x86