Skip to content
Commit b2a76b3f authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarWolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent e68b1280
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment