AM64x MCU+ SDK  08.02.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 
72  struct tisci_header hdr;
73  uint8_t identifier;
74  uint32_t value;
75 } __attribute__((__packed__));
76 
83  struct tisci_header hdr;
84 } __attribute__((__packed__));
85 
101  struct tisci_header hdr;
102  uint32_t value;
103  uint32_t cert_addr_lo;
104  uint32_t cert_addr_hi;
105 } __attribute__((__packed__));
106 
113  struct tisci_header hdr;
114 } __attribute__((__packed__));
115 
124  struct tisci_header hdr;
125  uint8_t identifier;
126 } __attribute__((__packed__));
127 
135  struct tisci_header hdr;
136  uint32_t value;
137 } __attribute__((__packed__));
138 
145  struct tisci_header hdr;
146 } __attribute__((__packed__));
147 
156  struct tisci_header hdr;
157  uint32_t keycnt;
158  uint32_t keyrev;
159 } __attribute__((__packed__));
160 
171 };
172 
173 #endif
174 
tisci_msg_set_keyrev_req::value
uint32_t value
Definition: tisci_otp_revision.h:102
tisci_msg_get_swrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:124
tisci_msg_get_swrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:135
tisci_msg_set_swrev_req::value
uint32_t value
Definition: tisci_otp_revision.h:74
tisci_msg_set_swrev_req
This file contains:
Definition: tisci_otp_revision.h:71
tisci_msg_get_keycnt_keyrev_req
Request message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:144
tisci_msg_set_keyrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:113
tisci_msg_get_swrev_resp::value
uint32_t value
Definition: tisci_otp_revision.h:136
tisci_msg_get_swrev_req
Request message to get swrev.
Definition: tisci_otp_revision.h:123
tisci_msg_get_swrev_resp
Response message to get swrev.
Definition: tisci_otp_revision.h:134
tisci_msg_set_swrev_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:73
tisci_header
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:89
tisci_msg_set_swrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:83
tisci_msg_set_keyrev_req
Request message to set keyrev.
Definition: tisci_otp_revision.h:100
tisci_msg_get_keycnt_keyrev_resp::keyrev
uint32_t keyrev
Definition: tisci_otp_revision.h:158
tisci_msg_get_keycnt_keyrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:145
OTP_REV_ID_SBL
@ OTP_REV_ID_SBL
Definition: tisci_otp_revision.h:166
__attribute__
enum tisci_otp_revision_identifier __attribute__
tisci_otp_revision_identifier
tisci_otp_revision_identifier
OTP Revision Identifiers.
Definition: tisci_otp_revision.h:164
tisci_msg_set_keyrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:101
OTP_REV_ID_SEC_BRDCFG
@ OTP_REV_ID_SEC_BRDCFG
Definition: tisci_otp_revision.h:170
tisci_msg_get_keycnt_keyrev_resp::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:156
tisci_msg_get_keycnt_keyrev_resp
Response message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:155
tisci_msg_set_swrev_req::hdr
struct tisci_header hdr
Definition: tisci_otp_revision.h:72
tisci_msg_set_keyrev_req::cert_addr_hi
uint32_t cert_addr_hi
Definition: tisci_otp_revision.h:104
OTP_REV_ID_SYSFW
@ OTP_REV_ID_SYSFW
Definition: tisci_otp_revision.h:168
tisci_msg_set_swrev_resp
Response message after seting swrev.
Definition: tisci_otp_revision.h:82
tisci_msg_set_keyrev_resp
Response message after setting keyrev.
Definition: tisci_otp_revision.h:112
tisci_msg_get_swrev_req::identifier
uint8_t identifier
Definition: tisci_otp_revision.h:125
tisci_msg_get_keycnt_keyrev_resp::keycnt
uint32_t keycnt
Definition: tisci_otp_revision.h:157
tisci_msg_set_keyrev_req::cert_addr_lo
uint32_t cert_addr_lo
Definition: tisci_otp_revision.h:103