nv-oot: Add early boot HSP commands

Add HSP commands related to RCE early boot logging.

Jira CAMERASW-27443

Change-Id: Ib80a5e5157474119663a010d2b6aa476cd17cdd7
Signed-off-by: Akihiro Mizusawa <amizusawa@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3228077
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3239621
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Semi Malinen <smalinen@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Chinniah Poosapadi <cpoosapadi@nvidia.com>
This commit is contained in:
Akihiro Mizusawa
2024-10-10 17:59:07 -07:00
committed by Jon Hunter
parent 1656f9c566
commit 1b9fe868bc

View File

@@ -506,6 +506,76 @@
*/ */
#define CAMRTC_HSP_SET_OP_POINT MK_U32(0x48) #define CAMRTC_HSP_SET_OP_POINT MK_U32(0x48)
/**
* @brief BOOT_STAGE logging message
*
* The CAMRTC_HSP_BOOT_STAGE message is a unidirectional
* message from RCE to client to log the currently running
* init function's feature ID and init level.
*
* @pre None
*
* @par Response
* @rststar
* +-------+---------------------------------------------------+
* | Bits | Description |
* +=======+===================================================+
* | 30:24 | CAMRTC_HSP_BOOT_STAGE |
* +-------+---------------------------------------------------+
* | 23:16 | Init step feature ID |
* +-------+---------------------------------------------------+
* | 15:8 | Init step level |
* +-------+---------------------------------------------------+
* | 7:0 | Undefined |
* +-------+---------------------------------------------------+
* @endrst
*/
#define CAMRTC_HSP_BOOT_STAGE MK_U32(0x49)
/**
* @brief BOOT_ERROR logging message
*
* The CAMRTC_HSP_BOOT_ERROR message is a unidirectional
* message from RCE to client to log that an RCE init handler
* returned error and RCE has halted.
*
* @pre None
*
* @par Response
* @rststar
* +-------+---------------------------------------------------+
* | Bits | Description |
* +=======+===================================================+
* | 30:24 | CAMRTC_HSP_BOOT_ERROR |
* +-------+---------------------------------------------------+
* | 23:0 | RTOS error |
* +-------+---------------------------------------------------+
* @endrst
*/
#define CAMRTC_HSP_BOOT_ERROR MK_U32(0x4A)
/**
* @brief BOOT_COMPLETE logging message
*
* The CAMRTC_HSP_BOOT_COMPLETE message is a unidirectional
* message from RCE to client to log that RCE early boot has
* completed.
*
* @pre None
*
* @par Response
* @rststar
* +-------+---------------------------------------------------+
* | Bits | Description |
* +=======+===================================================+
* | 30:24 | CAMRTC_HSP_BOOT_COMPLETE |
* +-------+---------------------------------------------------+
* | 23:0 | 0x000000 |
* +-------+---------------------------------------------------+
* @endrst
*/
#define CAMRTC_HSP_BOOT_COMPLETE MK_U32(0x4B)
/** Reserved, not to be used. */ /** Reserved, not to be used. */
#define CAMRTC_HSP_RESERVED_5E MK_U32(0x5E) /* bug 200395605 */ #define CAMRTC_HSP_RESERVED_5E MK_U32(0x5E) /* bug 200395605 */