Commit 7623ff5e authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

firehose: Wait 3 seconds for payload to boot



The downstream tool has a 3 second delay to allow the firehose payload
to boot. Adding the same makes db820c successfully enter firehose mode.

Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent fd48f7ce
...@@ -575,6 +575,9 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage ...@@ -575,6 +575,9 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage
int bootable; int bootable;
int ret; int ret;
/* Wait for the firehose payload to boot */
sleep(3);
firehose_read(qdl, 1000, NULL); firehose_read(qdl, 1000, NULL);
if(ufs_need_provisioning()) { if(ufs_need_provisioning()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment