AM261x MCU+ SDK: sdl_pbist_soc.h Source File

| AM261x MCU+ SDK 26.00.00 |

sdl_pbist_soc.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) Texas Instruments Incorporated 2025
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 #endif
66
92 typedef enum {
96 SDL_PBIST_INST_TOP,
97 } SDL_PBIST_inst;
98
99 typedef enum {
103 SDL_PBIST_HWPOST_INST_MCU,
104 } SDL_PBIST_hwpostInst;
105
106 typedef enum {
110 SDL_PBIST_POST_COMPLETED_SUCCESS,
114 SDL_PBIST_POST_COMPLETED_FAILURE,
118 SDL_PBIST_POST_TIMEOUT,
122 SDL_PBIST_POST_NOT_RUN
123 } SDL_PBIST_postStatus;
124
127 #define SDL_PBIST_NUM_INSTANCES 1U
128
129 #define SDL_PBIST_HWPOST_NUM_INSTANCES 1
130
137 typedef struct {
141 SDL_PBIST_postStatus mcuPostStatus;
142 } SDL_PBIST_postResult;
143
146 /* Macro to define the PBIST execution on R5F*/
147 #define SDL_SOC_MCU_R5F 1U
148
149 #ifdef __cplusplus
150 }
151 #endif
152
153 #endif
154
SDL_PBIST_POST_NOT_RUN
@ SDL_PBIST_POST_NOT_RUN
Definition: sdl_pbist_soc.h:122
SDL_PBIST_postResult
Definition: sdl_pbist_soc.h:137
SDL_PBIST_POST_COMPLETED_SUCCESS
@ SDL_PBIST_POST_COMPLETED_SUCCESS
Definition: sdl_pbist_soc.h:110
SDL_PBIST_HWPOST_INST_MCU
@ SDL_PBIST_HWPOST_INST_MCU
Definition: sdl_pbist_soc.h:103
SDL_PBIST_INST_TOP
@ SDL_PBIST_INST_TOP
Definition: sdl_pbist_soc.h:96
SDL_PBIST_postStatus
SDL_PBIST_postStatus
Definition: sdl_pbist_soc.h:106
SDL_PBIST_POST_TIMEOUT
@ SDL_PBIST_POST_TIMEOUT
Definition: sdl_pbist_soc.h:118
SDL_PBIST_hwpostInst
SDL_PBIST_hwpostInst
Definition: sdl_pbist_soc.h:99
SDL_PBIST_inst
SDL_PBIST_inst
PBIST instance.
Definition: sdl_pbist_soc.h:92
SDL_PBIST_POST_COMPLETED_FAILURE
@ SDL_PBIST_POST_COMPLETED_FAILURE
Definition: sdl_pbist_soc.h:114
SDL_PBIST_postResult::mcuPostStatus
SDL_PBIST_postStatus mcuPostStatus
Definition: sdl_pbist_soc.h:141