cros_ec: Increase command timeout for flash erase
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 14:14:44 +0000 (07:14 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 14 Nov 2020 22:23:41 +0000 (15:23 -0700)
commit4cb862fe28332f187f636b37b48fb0fbaf3432ec
tree140ce14d38fcb4a65dd542b061b3ad7a932dca4e
parentd237e9c7c00d131d808761d0fe7f44768598c074
cros_ec: Increase command timeout for flash erase

Erasing the flash can take over a second on some devices and the EC is
not responsive during this time. Update the timeout to 5 seconds to cope
with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec_lpc.c