PDK API Guide for AM64x
sciclient_romMessages.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2018 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  */
72 #ifndef SCICLIENT_ROMMESSAGES_H_
73 #define SCICLIENT_ROMMESSAGES_H_
74 
75 /* ========================================================================== */
76 /* Include Files */
77 /* ========================================================================== */
78 
79 #include <stdint.h>
80 
81 #ifdef __cplusplus
82 extern "C" {
83 #endif
84 
85 /* ========================================================================== */
86 /* Macros & Typedefs */
87 /* ========================================================================== */
93 #if defined (SOC_AM64X)
94 
95 #define SCICLIENT_ROM_R5_TX_NORMAL_THREAD (1U)
96 
97 #define SCICLIENT_ROM_R5_RX_NORMAL_THREAD (0U)
98 #else
99 
100 #define SCICLIENT_ROM_R5_TX_NORMAL_THREAD (4U)
101 
102 #define SCICLIENT_ROM_R5_RX_NORMAL_THREAD (5U)
103 #endif
104 /* @} */
105 
113 #define SCICLIENT_ROM_MSG_R5_TO_M3_M3FW (0x8105U)
114 
115 #define SCICLIENT_ROM_MSG_M3_TO_R5_M3FW_RESULT (0x8805U)
116 
117 #define SCICLIENT_ROM_MSG_CERT_AUTH_PASS (0x555555U)
118 
119 #define SCICLIENT_ROM_MSG_CERT_AUTH_FAIL (0xffffffU)
120 /* @} */
121 
122 /* ========================================================================== */
123 /* Structure Declarations */
124 /* ========================================================================== */
129 typedef struct tisci_header Sciclient_RomFirmwareLoadHdr_t;
130 
134 typedef struct
135 {
136  uint32_t bufferAddress;
138  uint32_t bufferSizeBytes;
144 
145 /* ========================================================================== */
146 /* Function Declarations */
147 /* ========================================================================== */
148 
149 /* None */
150 
151 #ifdef __cplusplus
152 }
153 #endif
154 
155 #endif /* #ifndef SCICLIENT_ROMMESSAGES_H_ */
156 
157 /* @} */
uint32_t bufferSizeBytes
Definition: sciclient_romMessages.h:138
ROM messaging: Payload for loading firmware .
Definition: sciclient_romMessages.h:134
uint32_t bufferAddress
Definition: sciclient_romMessages.h:136
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:89