1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 08:10:37 +02:00

this make the [power] + [u] usbboot mode work.

This commit is contained in:
Xiangfu Liu 2009-12-14 10:43:04 +08:00
parent 04d76e1139
commit d3fd6c8954

View File

@ -320,8 +320,10 @@ int usb_ingenic_upload(struct ingenic_dev *ingenic_dev, int stage)
rqst = VR_PROGRAM_START2;
}
usleep(100);
if (usb_ingenic_start(ingenic_dev, rqst, stage_addr) < 1)
return -1;
usleep(100);
if (usb_get_ingenic_cpu(ingenic_dev) < 1)
return -1;