PDK API Guide for J721E
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 
102  uint32_t value;
103  uint32_t cert_addr_lo;
104  uint32_t cert_addr_hi;
105 } __attribute__((__packed__));
106 
114 } __attribute__((__packed__));
115 
125  uint8_t identifier;
126 } __attribute__((__packed__));
127 
136  uint32_t value;
137 } __attribute__((__packed__));
138 
146 } __attribute__((__packed__));
147 
157  uint32_t keycnt;
158  uint32_t keyrev;
159 } __attribute__((__packed__));
160 
171 };
172 
173 #endif
174 
175 /* @} */
uint8_t identifier
Definition: tisci_otp_revision.h:73
struct tisci_header hdr
Definition: tisci_otp_revision.h:156
uint32_t keyrev
Definition: tisci_otp_revision.h:158
uint32_t value
Definition: tisci_otp_revision.h:102
Response message after setting keyrev.
Definition: tisci_otp_revision.h:112
Definition: tisci_otp_revision.h:166
uint8_t identifier
Definition: tisci_otp_revision.h:125
uint32_t value
Definition: tisci_otp_revision.h:136
struct tisci_header hdr
Definition: tisci_otp_revision.h:83
struct tisci_header hdr
Definition: tisci_otp_revision.h:72
struct tisci_header hdr
Definition: tisci_otp_revision.h:135
Response message to get swrev.
Definition: tisci_otp_revision.h:134
This file contains:
Definition: tisci_otp_revision.h:71
Request message to get swrev.
Definition: tisci_otp_revision.h:123
Definition: tisci_otp_revision.h:170
Request message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:144
tisci_otp_revision_identifier
OTP Revision Identifiers.
Definition: tisci_otp_revision.h:164
struct tisci_header hdr
Definition: tisci_otp_revision.h:101
struct tisci_header hdr
Definition: tisci_otp_revision.h:113
Request message to set keyrev.
Definition: tisci_otp_revision.h:100
Response message to get keycnt, keyrev.
Definition: tisci_otp_revision.h:155
struct tisci_header hdr
Definition: tisci_otp_revision.h:145
enum tisci_otp_revision_identifier __attribute__
uint32_t cert_addr_hi
Definition: tisci_otp_revision.h:104
uint32_t value
Definition: tisci_otp_revision.h:74
struct tisci_header hdr
Definition: tisci_otp_revision.h:124
uint32_t cert_addr_lo
Definition: tisci_otp_revision.h:103
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:89
Response message after seting swrev.
Definition: tisci_otp_revision.h:82
uint32_t keycnt
Definition: tisci_otp_revision.h:157
Definition: tisci_otp_revision.h:168