J722S MCU+ SDK
09.02.00
sdl_soc_pbist.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 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
*/
33
47
#ifndef SDL_PBIST_SOC_H_
48
#define SDL_PBIST_SOC_H_
49
50
#include <stdint.h>
51
#include <sdl/include/j722s/sdlr_soc_pbist.h>
52
53
#ifdef __cplusplus
54
extern
"C"
{
55
#endif
56
62
typedef
enum
{
66
SDL_PBIST_INST_MPU
,
70
SDL_PBIST_INST_ENCODE
,
74
SDL_PBIST_INST_PBIST1
,
78
SDL_PBIST_INST_WKUP_PBIST1
,
82
SDL_PBIST_INST_GPU
,
86
SDL_PBIST_INST_MAIN
,
90
SDL_PBIST_INST_VPAC0
,
94
SDL_PBIST_INST_C7X0
,
98
SDL_PBIST_INST_C7X1
,
102
SDL_PBIST_INST_PBIST2
,
106
SDL_PBIST_INST_DMPAC0
,
110
SDL_PBIST_INST_MCU
,
111
}
SDL_PBIST_inst
;
112
113
typedef
enum
{
117
SDL_PBIST_HWPOST_INST_MCU
,
118
}
SDL_PBIST_hwpostInst
;
119
120
typedef
enum
{
124
SDL_PBIST_POST_COMPLETED_SUCCESS
,
128
SDL_PBIST_POST_COMPLETED_FAILURE
,
132
SDL_PBIST_POST_TIMEOUT
,
136
SDL_PBIST_POST_NOT_RUN
137
}
SDL_PBIST_postStatus
;
138
139
/* Total number of instances*/
140
#define SDL_PBIST_NUM_INSTANCES 13U
141
142
typedef
struct
{
146
SDL_PBIST_postStatus
mcuPostStatus
;
147
}
SDL_PBIST_postResult
;
148
149
int32_t
SDL_PBIST_getDevicePostStatus
(
SDL_PBIST_postResult
*pResult);
150
151
#ifdef __cplusplus
152
}
153
#endif
154
157
#endif
/* SDL_PBIST_SOC_H_ */
SDL_PBIST_INST_C7X1
@ SDL_PBIST_INST_C7X1
Definition:
sdl_soc_pbist.h:98
SDL_PBIST_POST_COMPLETED_SUCCESS
@ SDL_PBIST_POST_COMPLETED_SUCCESS
Definition:
sdl_soc_pbist.h:124
SDL_PBIST_postResult
Definition:
sdl_soc_pbist.h:142
SDL_PBIST_postStatus
SDL_PBIST_postStatus
Definition:
sdl_soc_pbist.h:120
SDL_PBIST_hwpostInst
SDL_PBIST_hwpostInst
Definition:
sdl_soc_pbist.h:113
SDL_PBIST_inst
SDL_PBIST_inst
PBIST instance.
Definition:
sdl_soc_pbist.h:62
SDL_PBIST_INST_VPAC0
@ SDL_PBIST_INST_VPAC0
Definition:
sdl_soc_pbist.h:90
SDL_PBIST_INST_PBIST1
@ SDL_PBIST_INST_PBIST1
Definition:
sdl_soc_pbist.h:74
SDL_PBIST_INST_DMPAC0
@ SDL_PBIST_INST_DMPAC0
Definition:
sdl_soc_pbist.h:106
SDL_PBIST_INST_MCU
@ SDL_PBIST_INST_MCU
Definition:
sdl_soc_pbist.h:110
SDL_PBIST_INST_C7X0
@ SDL_PBIST_INST_C7X0
Definition:
sdl_soc_pbist.h:94
SDL_PBIST_INST_MPU
@ SDL_PBIST_INST_MPU
Definition:
sdl_soc_pbist.h:66
SDL_PBIST_INST_MAIN
@ SDL_PBIST_INST_MAIN
Definition:
sdl_soc_pbist.h:86
SDL_PBIST_INST_PBIST2
@ SDL_PBIST_INST_PBIST2
Definition:
sdl_soc_pbist.h:102
SDL_PBIST_INST_WKUP_PBIST1
@ SDL_PBIST_INST_WKUP_PBIST1
Definition:
sdl_soc_pbist.h:78
SDL_PBIST_POST_NOT_RUN
@ SDL_PBIST_POST_NOT_RUN
Definition:
sdl_soc_pbist.h:136
SDL_PBIST_POST_COMPLETED_FAILURE
@ SDL_PBIST_POST_COMPLETED_FAILURE
Definition:
sdl_soc_pbist.h:128
SDL_PBIST_getDevicePostStatus
int32_t SDL_PBIST_getDevicePostStatus(SDL_PBIST_postResult *pResult)
SDL_PBIST_HWPOST_INST_MCU
@ SDL_PBIST_HWPOST_INST_MCU
Definition:
sdl_soc_pbist.h:117
SDL_PBIST_INST_ENCODE
@ SDL_PBIST_INST_ENCODE
Definition:
sdl_soc_pbist.h:70
SDL_PBIST_INST_GPU
@ SDL_PBIST_INST_GPU
Definition:
sdl_soc_pbist.h:82
SDL_PBIST_postResult::mcuPostStatus
SDL_PBIST_postStatus mcuPostStatus
Definition:
sdl_soc_pbist.h:146
SDL_PBIST_POST_TIMEOUT
@ SDL_PBIST_POST_TIMEOUT
Definition:
sdl_soc_pbist.h:132
source
sdl
pbist
v0
soc
j722s
sdl_soc_pbist.h
generated by
1.8.20