AM243x MCU+ SDK  08.04.00
tisci_otp_revision.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2022 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  */
50 #ifndef REVISION_RD_WR_H
51 #define REVISION_RD_WR_H
52 
53 #ifdef __cplusplus
54 extern "C"
55 {
56 #endif
57 
58 
78  struct tisci_header hdr;
79  uint8_t identifier;
80  uint32_t value;
81 } __attribute__((__packed__));
82 
89  struct tisci_header hdr;
90 } __attribute__((__packed__));
91 
107  struct tisci_header hdr;
108  uint32_t value;
109  uint32_t cert_addr_lo;
110  uint32_t cert_addr_hi;
111 } __attribute__((__packed__));
112 
119  struct tisci_header hdr;
120 } __attribute__((__packed__));
121 
130  struct tisci_header hdr;
131  uint8_t identifier;
132 } __attribute__((__packed__));
133 
141  struct tisci_header hdr;
142  uint32_t value;
143 } __attribute__((__packed__));
144 
151  struct tisci_header hdr;
152 } __attribute__((__packed__));
153 
162  struct tisci_header hdr;
163  uint32_t keycnt;
164  uint32_t keyrev;
165 } __attribute__((__packed__));
166 
177 };
178 
179 
180 #ifdef __cplusplus
181 }
182 #endif
183 
184 #endif
185 
tisci_msg_set_keyrev_req::value
uint32_t value
Definition: tisci_otp_revision.h:108
tisci_msg_get_swrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:130
tisci_msg_get_swrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:141
tisci_msg_set_swrev_req::value
uint32_t value
Definition: tisci_otp_revision.h:80
tisci_msg_set_swrev_req
This file contains:
Definition: tisci_otp_revision.h:77
tisci_msg_get_keycnt_keyrev_req
Request message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:150
tisci_msg_set_keyrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:119
tisci_msg_get_swrev_resp::value
uint32_t value
Definition: tisci_otp_revision.h:142
tisci_msg_get_swrev_req
Request message to get swrev.
Definition: tisci_otp_revision.h:129
tisci_msg_get_swrev_resp
Response message to get swrev.
Definition: tisci_otp_revision.h:140
tisci_msg_set_swrev_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:79
tisci_header
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:95
tisci_msg_set_swrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:89
tisci_msg_set_keyrev_req
Request message to set keyrev.
Definition: tisci_otp_revision.h:106
tisci_msg_get_keycnt_keyrev_resp::keyrev
uint32_t keyrev
Definition: tisci_otp_revision.h:164
tisci_msg_get_keycnt_keyrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:151
OTP_REV_ID_SBL
@ OTP_REV_ID_SBL
Definition: tisci_otp_revision.h:172
__attribute__
enum tisci_otp_revision_identifier __attribute__
tisci_otp_revision_identifier
tisci_otp_revision_identifier
OTP Revision Identifiers.
Definition: tisci_otp_revision.h:170
tisci_msg_set_keyrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:107
OTP_REV_ID_SEC_BRDCFG
@ OTP_REV_ID_SEC_BRDCFG
Definition: tisci_otp_revision.h:176
tisci_msg_get_keycnt_keyrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:162
tisci_msg_get_keycnt_keyrev_resp
Response message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:161
tisci_msg_set_swrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:78
tisci_msg_set_keyrev_req::cert_addr_hi
uint32_t cert_addr_hi
Definition: tisci_otp_revision.h:110
OTP_REV_ID_SYSFW
@ OTP_REV_ID_SYSFW
Definition: tisci_otp_revision.h:174
tisci_msg_set_swrev_resp
Response message after seting swrev.
Definition: tisci_otp_revision.h:88
tisci_msg_set_keyrev_resp
Response message after setting keyrev.
Definition: tisci_otp_revision.h:118
tisci_msg_get_swrev_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:131
tisci_msg_get_keycnt_keyrev_resp::keycnt
uint32_t keycnt
Definition: tisci_otp_revision.h:163
tisci_msg_set_keyrev_req::cert_addr_lo
uint32_t cert_addr_lo
Definition: tisci_otp_revision.h:109