mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-29 10:10:37 +02:00
this make the [power] + [u] usbboot mode work.
This commit is contained in:
parent
04d76e1139
commit
d3fd6c8954
@ -320,8 +320,10 @@ int usb_ingenic_upload(struct ingenic_dev *ingenic_dev, int stage)
|
|||||||
rqst = VR_PROGRAM_START2;
|
rqst = VR_PROGRAM_START2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
usleep(100);
|
||||||
if (usb_ingenic_start(ingenic_dev, rqst, stage_addr) < 1)
|
if (usb_ingenic_start(ingenic_dev, rqst, stage_addr) < 1)
|
||||||
return -1;
|
return -1;
|
||||||
|
usleep(100);
|
||||||
if (usb_get_ingenic_cpu(ingenic_dev) < 1)
|
if (usb_get_ingenic_cpu(ingenic_dev) < 1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user