AM275 FreeRTOS SDK
10.01.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
46
#ifndef SDL_PBIST_SOC_H_
47
#define SDL_PBIST_SOC_H_
48
49
#include <stdint.h>
50
#include <sdl/include/am275x/sdlr_soc_pbist.h>
51
52
#ifdef __cplusplus
53
extern
"C"
{
54
#endif
55
61
typedef
enum
{
65
SDL_PBIST_INST_MAIN_PULSAR_0
,
69
SDL_PBIST_INST_MAIN_PULSAR_1
,
73
SDL_PBIST_INST_C7X_0
,
77
SDL_PBIST_INST_C7X_1
,
81
SDL_PBIST_INST_DM_2
,
85
SDL_PBIST_INST_MAIN_IP
,
86
87
}
SDL_PBIST_inst
;
88
89
typedef
enum
{
93
SDL_PBIST_INST_DM
,
94
95
}
SDL_PBIST_hwpostInst
;
96
97
typedef
enum
{
101
SDL_PBIST_POST_COMPLETED_SUCCESS
,
105
SDL_PBIST_POST_COMPLETED_FAILURE
,
109
SDL_PBIST_POST_TIMEOUT
,
113
SDL_PBIST_POST_NOT_RUN
114
}
SDL_PBIST_postStatus
;
115
116
/* Total number of instances*/
117
#define SDL_PBIST_NUM_INSTANCES 6U
118
119
typedef
struct
{
123
SDL_PBIST_postStatus
mcuPostStatus
;
124
}
SDL_PBIST_postResult
;
125
126
int32_t
SDL_PBIST_getDevicePostStatus
(
SDL_PBIST_postResult
*pResult);
127
128
#ifdef __cplusplus
129
}
130
#endif
131
134
#endif
/* SDL_PBIST_SOC_H_ */
SDL_PBIST_POST_COMPLETED_SUCCESS
@ SDL_PBIST_POST_COMPLETED_SUCCESS
Definition:
sdl_soc_pbist.h:101
SDL_PBIST_postResult
Definition:
sdl_soc_pbist.h:119
SDL_PBIST_INST_C7X_0
@ SDL_PBIST_INST_C7X_0
Definition:
sdl_soc_pbist.h:73
SDL_PBIST_postStatus
SDL_PBIST_postStatus
Definition:
sdl_soc_pbist.h:97
SDL_PBIST_hwpostInst
SDL_PBIST_hwpostInst
Definition:
sdl_soc_pbist.h:89
SDL_PBIST_inst
SDL_PBIST_inst
PBIST instance.
Definition:
sdl_soc_pbist.h:61
SDL_PBIST_INST_MAIN_PULSAR_1
@ SDL_PBIST_INST_MAIN_PULSAR_1
Definition:
sdl_soc_pbist.h:69
SDL_PBIST_INST_MAIN_PULSAR_0
@ SDL_PBIST_INST_MAIN_PULSAR_0
Definition:
sdl_soc_pbist.h:65
SDL_PBIST_INST_DM_2
@ SDL_PBIST_INST_DM_2
Definition:
sdl_soc_pbist.h:81
SDL_PBIST_INST_DM
@ SDL_PBIST_INST_DM
Definition:
sdl_soc_pbist.h:93
SDL_PBIST_INST_C7X_1
@ SDL_PBIST_INST_C7X_1
Definition:
sdl_soc_pbist.h:77
SDL_PBIST_POST_NOT_RUN
@ SDL_PBIST_POST_NOT_RUN
Definition:
sdl_soc_pbist.h:113
SDL_PBIST_POST_COMPLETED_FAILURE
@ SDL_PBIST_POST_COMPLETED_FAILURE
Definition:
sdl_soc_pbist.h:105
SDL_PBIST_getDevicePostStatus
int32_t SDL_PBIST_getDevicePostStatus(SDL_PBIST_postResult *pResult)
SDL_PBIST_INST_MAIN_IP
@ SDL_PBIST_INST_MAIN_IP
Definition:
sdl_soc_pbist.h:85
SDL_PBIST_postResult::mcuPostStatus
SDL_PBIST_postStatus mcuPostStatus
Definition:
sdl_soc_pbist.h:123
SDL_PBIST_POST_TIMEOUT
@ SDL_PBIST_POST_TIMEOUT
Definition:
sdl_soc_pbist.h:109
source
sdl
pbist
v0
soc
am275x
sdl_soc_pbist.h
generated by
1.8.20