Software APIs
flash_exec.h
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_FLASH_EXEC_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_FLASH_EXEC_H_
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif // __cplusplus
11 
12 enum {
13  /**
14  * Correct `flash_exec` value.
15  *
16  * This value must be equal to `FLASH_CTRL_PARAM_EXEC_EN`. Defined here to be
17  * able to use in tests.
18  */
19  kSigverifyFlashExec = 0xa26a38f7,
20 };
21 
22 #ifdef __cplusplus
23 } // extern "C"
24 #endif // __cplusplus
25 
26 #endif // OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_SIGVERIFY_FLASH_EXEC_H_