AM62Px MCU+ SDK
09.02.01
sdl_soc_pbist.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2023 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
46
#ifndef SDL_PBIST_SOC_H_
47
#define SDL_PBIST_SOC_H_
48
49
#include <stdint.h>
50
#include <sdl/include/am62px/sdlr_soc_pbist.h>
51
52
#ifdef __cplusplus
53
extern
"C"
{
54
#endif
55
61
typedef
enum
{
65
SDL_PBIST_INST_MPU
,
69
SDL_PBIST_INST_ENCODE
,
73
SDL_PBIST_INST_PBIST1
,
77
SDL_PBIST_INST_WKUP_PBIST1
,
81
SDL_PBIST_INST_GPU
,
85
SDL_PBIST_INST_MAIN
,
89
SDL_PBIST_INST_MCU
,
90
}
SDL_PBIST_inst
;
91
92
typedef
enum
{
96
SDL_PBIST_HWPOST_INST_MCU
,
97
}
SDL_PBIST_hwpostInst
;
98
99
typedef
enum
{
103
SDL_PBIST_POST_COMPLETED_SUCCESS
,
107
SDL_PBIST_POST_COMPLETED_FAILURE
,
111
SDL_PBIST_POST_TIMEOUT
,
115
SDL_PBIST_POST_NOT_RUN
116
}
SDL_PBIST_postStatus
;
117
118
/* Total number of instances*/
119
#define SDL_PBIST_NUM_INSTANCES 8U
120
121
typedef
struct
{
125
SDL_PBIST_postStatus
mcuPostStatus
;
126
}
SDL_PBIST_postResult
;
127
128
int32_t
SDL_PBIST_getDevicePostStatus
(
SDL_PBIST_postResult
*pResult);
129
130
#ifdef __cplusplus
131
}
132
#endif
133
136
#endif
/* SDL_PBIST_SOC_H_ */
SDL_PBIST_POST_COMPLETED_SUCCESS
@ SDL_PBIST_POST_COMPLETED_SUCCESS
Definition:
sdl_soc_pbist.h:103
SDL_PBIST_postResult
Definition:
sdl_soc_pbist.h:121
SDL_PBIST_postStatus
SDL_PBIST_postStatus
Definition:
sdl_soc_pbist.h:99
SDL_PBIST_hwpostInst
SDL_PBIST_hwpostInst
Definition:
sdl_soc_pbist.h:92
SDL_PBIST_inst
SDL_PBIST_inst
PBIST instance.
Definition:
sdl_soc_pbist.h:61
SDL_PBIST_INST_PBIST1
@ SDL_PBIST_INST_PBIST1
Definition:
sdl_soc_pbist.h:73
SDL_PBIST_INST_MCU
@ SDL_PBIST_INST_MCU
Definition:
sdl_soc_pbist.h:89
SDL_PBIST_INST_MPU
@ SDL_PBIST_INST_MPU
Definition:
sdl_soc_pbist.h:65
SDL_PBIST_INST_MAIN
@ SDL_PBIST_INST_MAIN
Definition:
sdl_soc_pbist.h:85
SDL_PBIST_INST_WKUP_PBIST1
@ SDL_PBIST_INST_WKUP_PBIST1
Definition:
sdl_soc_pbist.h:77
SDL_PBIST_POST_NOT_RUN
@ SDL_PBIST_POST_NOT_RUN
Definition:
sdl_soc_pbist.h:115
SDL_PBIST_POST_COMPLETED_FAILURE
@ SDL_PBIST_POST_COMPLETED_FAILURE
Definition:
sdl_soc_pbist.h:107
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:96
SDL_PBIST_INST_ENCODE
@ SDL_PBIST_INST_ENCODE
Definition:
sdl_soc_pbist.h:69
SDL_PBIST_INST_GPU
@ SDL_PBIST_INST_GPU
Definition:
sdl_soc_pbist.h:81
SDL_PBIST_postResult::mcuPostStatus
SDL_PBIST_postStatus mcuPostStatus
Definition:
sdl_soc_pbist.h:125
SDL_PBIST_POST_TIMEOUT
@ SDL_PBIST_POST_TIMEOUT
Definition:
sdl_soc_pbist.h:111
source
sdl
pbist
v0
soc
am62px
sdl_soc_pbist.h
generated by
1.8.20