commit | b2a76b3fe75a24eb4dafe32eebd8a3c98ad18354 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Jul 17 08:48:28 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon Jul 20 09:46:48 2020 +0800 |
tree | cfd16835bce148643db914858b12438e830c4fe3 | |
parent | e68b12805b65031e06a97a2257f1ad17a1c38ae4 [diff] |
x86: mtrr: Restructure so command execution is in one place At present do_mtrr() does the 'list' subcommand at the top and the rest below. Update it to do them all in the same place so we can (in a later patch) add parsing of the CPU number for all subcommands. 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>