Skip to content

Commit

Permalink
[dif, sram_ctrl] Update wipe and key request description
Browse files Browse the repository at this point in the history
With #21850, key requests that are issued during a
memory init are ignored by the hardware. This has not yet been
reflected in the dif_sram_ctrl_request_new_key and
dif_sram_ctrl_wipe function description.

Signed-off-by: Pascal Nasahl <[email protected]>
  • Loading branch information
nasahlpa committed Dec 17, 2024
1 parent 37fc765 commit 961c7be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sw/device/lib/dif/dif_sram_ctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ dif_result_t dif_sram_ctrl_scramble(const dif_sram_ctrl_t *sram_ctrl);
* Note: when dealing with the Main RAM, additional implication is that the
* C runtime can be invalidated by the call to this function, and must be
* re-configured prior to any C code execution.
*
* Note: during an ongoing memory initialization, the hardware ignores the key
* request.
*
* @param sram_ctrl A SRAM Controller handle.
* @return The result of the operation.
Expand All @@ -170,6 +173,9 @@ dif_result_t dif_sram_ctrl_request_new_key(const dif_sram_ctrl_t *sram_ctrl);
* C runtime can be invalidated by the call to this function, and must be
* re-configured prior to any C code execution.
*
* Note: during this memory initialization, the hardware ignores key requests
* that are issued while this operation is pending.
*
* @param sram_ctrl A SRAM Controller handle.
* @return The result of the operation.
*/
Expand Down

0 comments on commit 961c7be

Please sign in to comment.