AM273x MCU+ SDK
09.02.00
sdl_pbist_soc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Texas Instruments Incorporated 2022
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
/* ========================================================================== */
51
/* Include Files */
52
/* ========================================================================== */
53
54
#include <sdl/include/soc_config.h>
55
56
#ifdef __cplusplus
57
extern
"C"
{
58
#endif
59
60
/* ========================================================================== */
61
/* Macros & Typedefs */
62
/* ========================================================================== */
63
91
typedef
enum
{
95
SDL_PBIST_INST_TOP
,
99
SDL_PBIST_INST_DSS
,
100
101
}
SDL_PBIST_inst
;
102
103
typedef
enum
{
107
SDL_PBIST_HWPOST_INST_MCU
,
108
}
SDL_PBIST_hwpostInst
;
109
110
typedef
enum
{
114
SDL_PBIST_POST_COMPLETED_SUCCESS
,
118
SDL_PBIST_POST_COMPLETED_FAILURE
,
122
SDL_PBIST_POST_TIMEOUT
,
126
SDL_PBIST_POST_NOT_RUN
127
}
SDL_PBIST_postStatus
;
128
131
#define SDL_PBIST_NUM_INSTANCES 2U
132
133
#define SDL_PBIST_HWPOST_NUM_INSTANCES 1
134
141
typedef
struct
{
145
SDL_PBIST_postStatus
mcuPostStatus
;
146
}
SDL_PBIST_postResult
;
147
150
/* Macro to define the PBIST execution on R5F*/
151
#define SDL_SOC_MCU_R5F 1U
152
153
#ifdef __cplusplus
154
}
155
#endif
156
157
#endif
158
SDL_PBIST_POST_NOT_RUN
@ SDL_PBIST_POST_NOT_RUN
Definition:
sdl_pbist_soc.h:126
SDL_PBIST_postResult
Definition:
sdl_pbist_soc.h:141
SDL_PBIST_POST_COMPLETED_SUCCESS
@ SDL_PBIST_POST_COMPLETED_SUCCESS
Definition:
sdl_pbist_soc.h:114
SDL_PBIST_HWPOST_INST_MCU
@ SDL_PBIST_HWPOST_INST_MCU
Definition:
sdl_pbist_soc.h:107
SDL_PBIST_INST_TOP
@ SDL_PBIST_INST_TOP
Definition:
sdl_pbist_soc.h:95
SDL_PBIST_postStatus
SDL_PBIST_postStatus
Definition:
sdl_pbist_soc.h:110
SDL_PBIST_INST_DSS
@ SDL_PBIST_INST_DSS
Definition:
sdl_pbist_soc.h:99
SDL_PBIST_POST_TIMEOUT
@ SDL_PBIST_POST_TIMEOUT
Definition:
sdl_pbist_soc.h:122
SDL_PBIST_hwpostInst
SDL_PBIST_hwpostInst
Definition:
sdl_pbist_soc.h:103
SDL_PBIST_inst
SDL_PBIST_inst
PBIST instance.
Definition:
sdl_pbist_soc.h:91
SDL_PBIST_POST_COMPLETED_FAILURE
@ SDL_PBIST_POST_COMPLETED_FAILURE
Definition:
sdl_pbist_soc.h:118
SDL_PBIST_postResult::mcuPostStatus
SDL_PBIST_postStatus mcuPostStatus
Definition:
sdl_pbist_soc.h:145
source
sdl
pbist
v0
soc
am273x
sdl_pbist_soc.h
generated by
1.8.20