Commit 3d1cac96 authored by Varun Wadekar's avatar Varun Wadekar
Browse files

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: default avatarVarun Wadekar <vwadekar@nvidia.com>
Change-Id: I0012448ba372a8bb0e156df7dfe49d7de6d21a68
parent 92ce719b
...@@ -25,10 +25,9 @@ ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment