This patch changes the hardcoded 3 seconds timeout to the timeout which is actually specified at the command line, or the default 10 seconds if nothing is specified. The 3 seconds was not enough to write a flash image, when the erase time needs longer, as it is the case with Zephyr, when the incrementally erase option is not enabled.
This patch changes the hardcoded 3 seconds timeout to the timeout which is actually specified at the command line, or the default 10 seconds if nothing is specified. The 3 seconds was not enough to write a flash image, when the erase time needs longer, as it is the case with Zephyr, when the incrementally erase option is not enabled.