AM62x MCU+ SDK  10.01.00
tisci_otp_revision.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021-2024 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 
66 #define JTAG_DISABLE_CHECK_SET_VAL 1U
67 #define JTAG_DISABLE_CHECK_CLEAR_VAL 0U
68 
69 
82  struct tisci_header hdr;
83  uint8_t identifier;
84  uint32_t value;
85 } __attribute__((__packed__));
86 
93  struct tisci_header hdr;
94 } __attribute__((__packed__));
95 
105  struct tisci_header hdr;
106 } __attribute__((__packed__));
107 
114  struct tisci_header hdr;
115 } __attribute__((__packed__));
116 
124  struct tisci_header hdr;
125  uint8_t identifier;
126 } __attribute__((__packed__));
127 
135  struct tisci_header hdr;
136  uint8_t value;
137 } __attribute__((__packed__));
138 
154  struct tisci_header hdr;
155  uint32_t value;
156  uint32_t cert_addr_lo;
157  uint32_t cert_addr_hi;
158 } __attribute__((__packed__));
159 
166  struct tisci_header hdr;
167 } __attribute__((__packed__));
168 
177  struct tisci_header hdr;
178  uint8_t identifier;
179 } __attribute__((__packed__));
180 
188  struct tisci_header hdr;
189  uint32_t value;
190 } __attribute__((__packed__));
191 
198  struct tisci_header hdr;
199 } __attribute__((__packed__));
200 
209  struct tisci_header hdr;
210  uint32_t keycnt;
211  uint32_t keyrev;
212 } __attribute__((__packed__));
213 
224 };
225 
236 };
237 
238 
239 #ifdef __cplusplus
240 }
241 #endif
242 
243 #endif
244 
tisci_msg_set_keyrev_req::value
uint32_t value
Definition: tisci_otp_revision.h:155
tisci_msg_get_swrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:177
tisci_msg_disable_jtag_unlock_resp
Response message after disabling jtag unlock.
Definition: tisci_otp_revision.h:113
tisci_msg_disable_jtag_unlock_req
Request message to disable jtag unlock.
Definition: tisci_otp_revision.h:104
tisci_msg_get_swrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:188
tisci_msg_set_swrev_req::value
uint32_t value
Definition: tisci_otp_revision.h:84
tisci_jtag_disable_check_identifier
tisci_jtag_disable_check_identifier
JTAG Disable check Identifiers.
Definition: tisci_otp_revision.h:229
JTAG_DISABLE_CHECK_SET
@ JTAG_DISABLE_CHECK_SET
Definition: tisci_otp_revision.h:231
tisci_msg_set_swrev_req
Request message to set swrev.
Definition: tisci_otp_revision.h:81
tisci_msg_get_keycnt_keyrev_req
Request message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:197
tisci_msg_set_keyrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:166
tisci_msg_get_swrev_resp::value
uint32_t value
Definition: tisci_otp_revision.h:189
tisci_msg_get_swrev_req
Request message to get swrev.
Definition: tisci_otp_revision.h:176
tisci_msg_get_swrev_resp
Response message to get swrev.
Definition: tisci_otp_revision.h:187
tisci_msg_set_swrev_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:83
tisci_header
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:94
JTAG_DISABLE_CHECK_CLEAR
@ JTAG_DISABLE_CHECK_CLEAR
Definition: tisci_otp_revision.h:233
tisci_msg_disable_jtag_unlock_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:114
tisci_msg_disable_jtag_unlock_check_req
Request message for disabling jtag unlock check.
Definition: tisci_otp_revision.h:123
tisci_msg_set_swrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:93
tisci_msg_set_keyrev_req
Request message to set keyrev.
Definition: tisci_otp_revision.h:153
tisci_msg_get_keycnt_keyrev_resp::keyrev
uint32_t keyrev
Definition: tisci_otp_revision.h:211
tisci_msg_disable_jtag_unlock_check_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:125
tisci_msg_get_keycnt_keyrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:198
OTP_REV_ID_SBL
@ OTP_REV_ID_SBL
Definition: tisci_otp_revision.h:219
__attribute__
enum tisci_otp_revision_identifier __attribute__
tisci_otp_revision_identifier
tisci_otp_revision_identifier
OTP Revision Identifiers.
Definition: tisci_otp_revision.h:217
tisci_msg_set_keyrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:154
OTP_REV_ID_SEC_BRDCFG
@ OTP_REV_ID_SEC_BRDCFG
Definition: tisci_otp_revision.h:223
tisci_msg_get_keycnt_keyrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:209
tisci_msg_get_keycnt_keyrev_resp
Response message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:208
tisci_msg_disable_jtag_unlock_check_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:135
tisci_msg_set_swrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:82
tisci_msg_set_keyrev_req::cert_addr_hi
uint32_t cert_addr_hi
Definition: tisci_otp_revision.h:157
OTP_REV_ID_SYSFW
@ OTP_REV_ID_SYSFW
Definition: tisci_otp_revision.h:221
tisci_msg_disable_jtag_unlock_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:105
JTAG_DISABLE_CHECK_GET
@ JTAG_DISABLE_CHECK_GET
Definition: tisci_otp_revision.h:235
tisci_msg_set_swrev_resp
Response message after seting swrev.
Definition: tisci_otp_revision.h:92
tisci_msg_set_keyrev_resp
Response message after setting keyrev.
Definition: tisci_otp_revision.h:165
tisci_msg_disable_jtag_unlock_check_resp::value
uint8_t value
Definition: tisci_otp_revision.h:136
tisci_msg_disable_jtag_unlock_check_resp
Response message after disabling jtag unlock check.
Definition: tisci_otp_revision.h:134
tisci_msg_get_swrev_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:178
tisci_msg_get_keycnt_keyrev_resp::keycnt
uint32_t keycnt
Definition: tisci_otp_revision.h:210
tisci_msg_set_keyrev_req::cert_addr_lo
uint32_t cert_addr_lo
Definition: tisci_otp_revision.h:156
tisci_msg_disable_jtag_unlock_check_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:124