summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Habibulla <moch@chromium.org>2013-10-14 20:24:56 (GMT)
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-14 02:53:16 (GMT)
commit386857e3c5d90be4a722a0f6fbf424301c3a37a2 (patch)
tree66da85ee41ae254cc51dd70e7623d62f57b7e8c2
parent60599f06c4d8dfcfd0e4ba4d922f1a4e21caefe5 (diff)
downloaddepthcharge-firmware-falco_peppy-4389.B.tar.gz
depthcharge-firmware-falco_peppy-4389.B.tar.xz
CHERRY-PICK: Increase timeout value for CrosEC Syncfirmware-falco_peppy-4389.B
Increase timeout value from 1s to 1.5s. On Wolf flash erase takes slightly longer than 1s. BUG=chrome-os-partner:23204 TEST=firmware_SoftwareSync passes Original Change-Id: Ie5385f4c74afc54836b35032432f5375e73f832e Reviewed-on: https://chromium-review.googlesource.com/172998 Commit-Queue: Mohammed Habibulla <moch@chromium.org> Tested-by: Mohammed Habibulla <moch@chromium.org> Reviewed-by: Gabe Black <gabeblack@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> (cherry picked from commit 3fb56fd6ab179fd31a839ac4d7f47f119d57adda) Change-Id: Ia7dd54cd768931535e5ad19cc080c8e09b9b0edf Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: https://chromium-review.googlesource.com/173091 Reviewed-by: Mohammed Habibulla <moch@chromium.org> (cherry picked from commit ade7925ef075359657b8c9933b76a526726ad1c1) Reviewed-on: https://chromium-review.googlesource.com/212372 Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org> Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
-rw-r--r--src/drivers/ec/cros/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ec/cros/lpc.c b/src/drivers/ec/cros/lpc.c
index 65e9fdc..4754951 100644
--- a/src/drivers/ec/cros/lpc.c
+++ b/src/drivers/ec/cros/lpc.c
@@ -32,7 +32,7 @@ static int wait_for_sync(void)
{
uint64_t start = timer_us(0);
while (inb(EC_LPC_ADDR_HOST_CMD) & EC_LPC_STATUS_BUSY_MASK) {
- if (timer_us(start) > 1000 * 1000) {
+ if (timer_us(start) > 1500 * 1000) {
printf("%s: Timeout waiting for CrosEC sync\n",
__func__);
return -1;