mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-22 14:41:42 +00:00
command: Fix SMC and HVC maximum number of arguments
smc and hvc commands take upto 8 user input arguments, the maximum number of arguments of the U_BOOT_CMD macro should set to 9. Besides, fix the typo (arg7 -> arg6) in hvc command's help message. Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c48fec6e7c
commit
8f20c48079
1 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ static int do_call(struct cmd_tbl *cmdtp, int flag, int argc,
|
|||
|
||||
#ifdef CONFIG_CMD_SMC
|
||||
U_BOOT_CMD(
|
||||
smc, 8, 2, do_call,
|
||||
smc, 9, 2, do_call,
|
||||
"Issue a Secure Monitor Call",
|
||||
"<fid> [arg1 ... arg6] [id]\n"
|
||||
" - fid Function ID\n"
|
||||
|
@ -61,9 +61,9 @@ U_BOOT_CMD(
|
|||
|
||||
#ifdef CONFIG_CMD_HVC
|
||||
U_BOOT_CMD(
|
||||
hvc, 8, 2, do_call,
|
||||
hvc, 9, 2, do_call,
|
||||
"Issue a Hypervisor Call",
|
||||
"<fid> [arg1...arg7] [id]\n"
|
||||
"<fid> [arg1...arg6] [id]\n"
|
||||
" - fid Function ID\n"
|
||||
" - arg HVC arguments, passed to X1-X6 (default to zero)\n"
|
||||
" - id Session ID, passed to W7 (defaults to zero)\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue