]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: mtrr: Restructure so command execution is in one place
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:28 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:48 +0000 (09:46 +0800)
commitb2a76b3fe75a24eb4dafe32eebd8a3c98ad18354
treecfd16835bce148643db914858b12438e830c4fe3
parente68b12805b65031e06a97a2257f1ad17a1c38ae4
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>
cmd/x86/mtrr.c