Date:2011-03-07 03:47:08 (9 years 4 months ago)
Author:Xiangfu Liu
Commit:9b840cda9a511794b8f40f988d5b3dc48bb48f5f
Message:add reset help

Files: usbboot/src/cmd.c (1 diff)
usbboot/src/command_line.c (1 diff)

Change Details

usbboot/src/cmd.c
964964
965965int device_reset(int ops)
966966{
967    if (usb_get_ingenic_cpu(&ingenic_dev) < 3) {
968        printf(" Device unboot! Boot it first!\n");
969        return -1;
970    }
971
967972    if (usb_ingenic_reset(&ingenic_dev, ops) < 1)
968973        return -1;
969974
usbboot/src/command_line.c
3737{
3838    printf(
3939    " boot boot device and make it in stage2\n"
40    " reset reset device\n"
4041    " nprog program NAND flash\n"
4142    " nquery query NAND flash info\n"
4243    " nerase erase NAND flash\n"

Archive Download the corresponding diff file



interactive