security/vboot: Extend CROS_EC_HASH_TIMEOUT_MS
The ITE EC may take more than 2 seconds to complete EC FW hash calculation in some corner cases. For example, boot with a dead battery, EC even takes more than 10 seconds to complte the hash calculation. Extend the timeout from 2 seconds to 12 seconds to cover the ITE EC cases, it should not impact boot time and functionalities. BUG=b:445034279, b:444392807 Change-Id: I4f6e23dc3096cbba04c33c8f3cc36c90aa83462a Signed-off-by: Derek Huang <derekhuang@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89293 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Pranava Y N <pranavayn@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
d2345e0c60
commit
ffae0f7d73
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
/* Wait 10 ms between attempts to check if EC's hash is ready */
|
||||
#define CROS_EC_HASH_CHECK_DELAY_MS 10
|
||||
/* Give the EC 2 seconds to finish calculating its hash */
|
||||
#define CROS_EC_HASH_TIMEOUT_MS 2000
|
||||
/* Give the EC 12 seconds to finish calculating its hash */
|
||||
#define CROS_EC_HASH_TIMEOUT_MS 12000
|
||||
|
||||
/* Wait 3 seconds after software sync for EC to clear the limit power flag. */
|
||||
#define LIMIT_POWER_WAIT_TIMEOUT_MS 3000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue