sysreset: provide type of reset in do_reset cmd

Add additional param for reset cmd, which provides type of reset.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
This commit is contained in:
Igor Opaniuk
2021-04-01 02:01:55 +03:00
committed by Tom Rini
parent 91f00ba2c1
commit a6713b3a3c
2 changed files with 11 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ U_BOOT_CMD(
#endif
U_BOOT_CMD(
reset, 1, 0, do_reset,
reset, 2, 0, do_reset,
"Perform RESET of the CPU",
""
);