summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-12-07 11:55:26 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-12-07 11:55:26 +0100
commit188fa70c809b9790dc359c34554eb972e87ccd99 (patch)
tree1fa7e0c55f5aae4b0864b4beac8b1a062570c27e /src
parentf2a51b5041f01858a0154fb06fc9d7054f94ccbb (diff)
download0xFFFF-188fa70c809b9790dc359c34554eb972e87ccd99.tar.bz2
cold-flash: Increase timeout after leaving cold flash mode
Switching to NOLO takes about one second and NOLO itself wait another second. So it should be OK.
Diffstat (limited to 'src')
-rw-r--r--src/cold-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cold-flash.c b/src/cold-flash.c
index 9b92d79..fc2e86b 100644
--- a/src/cold-flash.c
+++ b/src/cold-flash.c
@@ -415,7 +415,7 @@ int leave_cold_flash(struct usb_device_info * dev) {
if ( ret != sizeof(omap_memory_msg) )
ERROR_RETURN("Sending OMAP memory boot message failed", -1);
- SLEEP(250000);
+ SLEEP(1000000);
return 0;
}