diff options
author | Clement Faure <clement.faure@nxp.com> | 2022-07-26 11:24:52 +0200 |
---|---|---|
committer | Clement Faure <clement.faure@nxp.com> | 2022-07-26 11:24:52 +0200 |
commit | 11b169ed5bb753ad319a822101c83f0dcb095495 (patch) | |
tree | 1459225e0155745c154d45a601425c87dd09b0a5 /arch/arm | |
parent | 93abf4d87c2a0f14f055dab5df2785ddc4a6a434 (diff) |
LFOPTEE-169 imx8ulp: s400: start the S400 RNG at boot
On the imx8ulp A1 SoC, the S400 RNG needs to be manually started.
Signed-off-by: Clement Faure <clement.faure@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/mach-imx/s400_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/s400_api.h b/arch/arm/include/asm/mach-imx/s400_api.h index 4cf8774a36..9e3c8136df 100644 --- a/arch/arm/include/asm/mach-imx/s400_api.h +++ b/arch/arm/include/asm/mach-imx/s400_api.h @@ -24,6 +24,7 @@ #define ELE_GET_FW_VERSION_REQ (0x9D) #define ELE_RET_LIFECYCLE_UP_REQ (0xA0) #define ELE_GET_EVENTS_REQ (0xA2) +#define ELE_START_RNG (0xA3) #define ELE_ENABLE_PATCH_REQ (0xC3) #define ELE_RELEASE_RDC_REQ (0xC4) #define ELE_GET_FW_STATUS_REQ (0xC5) @@ -142,5 +143,6 @@ int ahab_get_info(struct sentinel_get_info_data *info, u32 *response); int ahab_get_fw_status(u32 *status, u32 *response); int ahab_release_m33_trout(void); int ahab_get_events(u32 *events, u32 *events_cnt, u32 *response); +int ahab_start_rng(void); #endif |