AM263x MCU+ SDK
09.01.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
#if defined (SUBSYS_R5SS0)
64
#define SDL_INTR_PBIST_DONE SDL_R5FSS0_CORE0_INTR_PBIST_DONE
65
#elif defined (SUBSYS_R5SS1)
66
#define SDL_INTR_PBIST_DONE SDL_R5FSS1_CORE0_INTR_PBIST_DONE
67
#endif
68
94
typedef
enum
{
98
SDL_PBIST_INST_TOP
,
99
}
SDL_PBIST_inst
;
100
101
typedef
enum
{
105
SDL_PBIST_HWPOST_INST_MCU
,
106
}
SDL_PBIST_hwpostInst
;
107
108
typedef
enum
{
112
SDL_PBIST_POST_COMPLETED_SUCCESS
,
116
SDL_PBIST_POST_COMPLETED_FAILURE
,
120
SDL_PBIST_POST_TIMEOUT
,
124
SDL_PBIST_POST_NOT_RUN
125
}
SDL_PBIST_postStatus
;
126
129
#define SDL_PBIST_NUM_INSTANCES 1U
130
131
#define SDL_PBIST_HWPOST_NUM_INSTANCES 1
132
139
typedef
struct
{
143
SDL_PBIST_postStatus
mcuPostStatus
;
144
}
SDL_PBIST_postResult
;
145
148
/* Macro to define the PBIST execution on R5F*/
149
#define SDL_SOC_MCU_R5F 1U
150
151
#ifdef __cplusplus
152
}
153
#endif
154
155
#endif
156
SDL_PBIST_POST_NOT_RUN
@ SDL_PBIST_POST_NOT_RUN
Definition:
sdl_pbist_soc.h:124
SDL_PBIST_postResult
Definition:
sdl_pbist_soc.h:139
SDL_PBIST_POST_COMPLETED_SUCCESS
@ SDL_PBIST_POST_COMPLETED_SUCCESS
Definition:
sdl_pbist_soc.h:112
SDL_PBIST_HWPOST_INST_MCU
@ SDL_PBIST_HWPOST_INST_MCU
Definition:
sdl_pbist_soc.h:105
SDL_PBIST_INST_TOP
@ SDL_PBIST_INST_TOP
Definition:
sdl_pbist_soc.h:98
SDL_PBIST_postStatus
SDL_PBIST_postStatus
Definition:
sdl_pbist_soc.h:108
SDL_PBIST_POST_TIMEOUT
@ SDL_PBIST_POST_TIMEOUT
Definition:
sdl_pbist_soc.h:120
SDL_PBIST_hwpostInst
SDL_PBIST_hwpostInst
Definition:
sdl_pbist_soc.h:101
SDL_PBIST_inst
SDL_PBIST_inst
PBIST instance.
Definition:
sdl_pbist_soc.h:94
SDL_PBIST_POST_COMPLETED_FAILURE
@ SDL_PBIST_POST_COMPLETED_FAILURE
Definition:
sdl_pbist_soc.h:116
SDL_PBIST_postResult::mcuPostStatus
SDL_PBIST_postStatus mcuPostStatus
Definition:
sdl_pbist_soc.h:143
source
sdl
pbist
v0
soc
am263x
sdl_pbist_soc.h
generated by
1.8.20