mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-24 23:23:47 +02:00
add reset help
This commit is contained in:
parent
51b7b51a5b
commit
9b840cda9a
@ -964,6 +964,11 @@ out:
|
||||
|
||||
int device_reset(int ops)
|
||||
{
|
||||
if (usb_get_ingenic_cpu(&ingenic_dev) < 3) {
|
||||
printf(" Device unboot! Boot it first!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (usb_ingenic_reset(&ingenic_dev, ops) < 1)
|
||||
return -1;
|
||||
|
||||
|
@ -37,6 +37,7 @@ static int handle_help(void)
|
||||
{
|
||||
printf(
|
||||
" boot boot device and make it in stage2\n"
|
||||
" reset reset device\n"
|
||||
" nprog program NAND flash\n"
|
||||
" nquery query NAND flash info\n"
|
||||
" nerase erase NAND flash\n"
|
||||
|
Loading…
Reference in New Issue
Block a user