mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 04:48:14 +00:00
Tegra194: se: increase max. operation timeout to 1 second
This patch increases the maximum timeout value for SE operation completion to 1 second. This takes care of some corner cases where an operation might take more time than the previous timeout value of 100ms. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I0012448ba372a8bb0e156df7dfe49d7de6d21a68
This commit is contained in:
parent
92ce719b55
commit
3d1cac96c0
1 changed files with 4 additions and 5 deletions
|
@ -25,10 +25,9 @@
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
#define ERR_STATUS_SW_CLEAR U(0xFFFFFFFF)
|
#define ERR_STATUS_SW_CLEAR U(0xFFFFFFFF)
|
||||||
#define INT_STATUS_SW_CLEAR U(0xFFFFFFFF)
|
#define INT_STATUS_SW_CLEAR U(0xFFFFFFFF)
|
||||||
#define MAX_TIMEOUT_MS U(100) /* Timeout in 100ms */
|
#define MAX_TIMEOUT_MS U(1000) /* Max. timeout of 1s */
|
||||||
#define NUM_SE_REGS_TO_SAVE U(4)
|
#define NUM_SE_REGS_TO_SAVE U(4)
|
||||||
|
|
||||||
#define SE0_MAX_BUSY_TIMEOUT_MS U(100) /* 100ms Timeout Expired */
|
|
||||||
#define BYTES_IN_WORD U(4)
|
#define BYTES_IN_WORD U(4)
|
||||||
#define SHA256_MAX_HASH_RESULT U(7)
|
#define SHA256_MAX_HASH_RESULT U(7)
|
||||||
#define SHA256_DST_SIZE U(32)
|
#define SHA256_DST_SIZE U(32)
|
||||||
|
|
Loading…
Add table
Reference in a new issue