blob: 454daf9d237991235379104851859bbbfa453bb2 [file] [log] [blame]
Frank Vibrans2b4c8312011-02-14 18:30:54 +00001/* $NoKeywords:$ */
2/**
3 * @file
4 *
5 *
6 *
7 *
8 *
9 * @xrefitem bom "File Content Label" "Release Content"
10 * @e project: AGESA
11 * @e sub-project: GNB
efdesign9884cbce22011-08-04 12:09:17 -060012 * @e \$Revision: 44325 $ @e \$Date: 2010-12-22 03:29:53 -0700 (Wed, 22 Dec 2010) $
Frank Vibrans2b4c8312011-02-14 18:30:54 +000013 *
14 */
15/*
efdesign9884cbce22011-08-04 12:09:17 -060016*****************************************************************************
17*
18* Copyright (c) 2011, Advanced Micro Devices, Inc.
19* All rights reserved.
20*
21* Redistribution and use in source and binary forms, with or without
22* modification, are permitted provided that the following conditions are met:
23* * Redistributions of source code must retain the above copyright
24* notice, this list of conditions and the following disclaimer.
25* * Redistributions in binary form must reproduce the above copyright
26* notice, this list of conditions and the following disclaimer in the
27* documentation and/or other materials provided with the distribution.
Edward O'Callaghane963b382014-07-06 19:27:14 +100028* * Neither the name of Advanced Micro Devices, Inc. nor the names of
29* its contributors may be used to endorse or promote products derived
efdesign9884cbce22011-08-04 12:09:17 -060030* from this software without specific prior written permission.
31*
32* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
33* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35* DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
36* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
39* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
41* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42*
43* ***************************************************************************
44*
45*/
Frank Vibrans2b4c8312011-02-14 18:30:54 +000046
47/*----------------------------------------------------------------------------------------
48 * M O D U L E S U S E D
49 *----------------------------------------------------------------------------------------
50 */
51
52/*----------------------------------------------------------------------------------------
53 * D E F I N I T I O N S A N D M A C R O S
54 *----------------------------------------------------------------------------------------
55 */
56
57
58/*----------------------------------------------------------------------------------------
59 * T Y P E D E F S A N D S T R U C T U R E S
60 *----------------------------------------------------------------------------------------
61 */
62
63
64/*----------------------------------------------------------------------------------------
65 * P R O T O T Y P E S O F L O C A L F U N C T I O N S
66 *----------------------------------------------------------------------------------------
67 */
68/*----------------------------------------------------------------------------------------*/
69/**
70 * Init GNB at Reset Stub
71 *
72 *
73 *
74 * @param[in] StdHeader Standard configuration header
75 * @retval AGESA_STATUS Always succeeds
76 */
77
78AGESA_STATUS
79GnbInitAtReset (
80 IN AMD_CONFIG_PARAMS *StdHeader
81 )
82{
83
84 return AGESA_SUCCESS;
85}
86
87/*----------------------------------------------------------------------------------------*/
88/**
89 * Init GNB at Early Stub
90 *
91 *
92 *
93 * @param[in,out] EarlyParamsPtr Pointer to early configuration params.
94 * @retval AGESA_STATUS Always succeeds
95 */
96
97AGESA_STATUS
98GnbInitAtEarly (
99 IN OUT AMD_EARLY_PARAMS *EarlyParamsPtr
100 )
101{
102 return AGESA_SUCCESS;
103}
104
105/*----------------------------------------------------------------------------------------*/
106/**
107 * Default constructor of GNB configuration at Env
108 *
109 *
110 *
111 * @param[in] GnbEnvConfigPtr Pointer to gnb env configuration params.
112 * @param[in] EnvParamsPtr Pointer to env configuration params.
113 */
114VOID
115GnbInitDataStructAtEnvDef (
116 IN OUT GNB_ENV_CONFIGURATION *GnbEnvConfigPtr,
117 IN AMD_ENV_PARAMS *EnvParamsPtr
118 )
119{
120
121}
122
123/*----------------------------------------------------------------------------------------*/
124/**
125 * Init GNB at Env
126 *
127 *
128 *
129 * @param[in] EnvParamsPtr Pointer to env configuration params.
130* @retval AGESA_STATUS Always succeeds
131 */
132
133AGESA_STATUS
134GnbInitAtEnv (
135 IN AMD_ENV_PARAMS *EnvParamsPtr
136 )
137{
138
139 return AGESA_SUCCESS;
140}
141
142/*----------------------------------------------------------------------------------------*/
143/**
144 * Init GNB at Post
145 *
146 *
147 *
148 * @param[in,out] PostParamsPtr Pointer to Post configuration params.
149 * @retval AGESA_STATUS Always succeeds
150 */
151
152AGESA_STATUS
153GnbInitAtPost (
154 IN OUT AMD_POST_PARAMS *PostParamsPtr
155 )
156{
157
158 return AGESA_SUCCESS;
159}
160
161/*----------------------------------------------------------------------------------------*/
162/**
163 * Init GNB at Mid post
164 *
165 *
166 *
167 * @param[in,out] MidParamsPtr Pointer to mid configuration params.
168 * @retval AGESA_STATUS Always succeeds
169 */
170
171AGESA_STATUS
172GnbInitAtMid (
173 IN OUT AMD_MID_PARAMS *MidParamsPtr
174 )
175{
176
177 return AGESA_SUCCESS;
178}
179
180/*----------------------------------------------------------------------------------------*/
181/**
182 * Init GNB at Late post
183 *
184 *
185 *
186 * @param[in,out] LateParamsPtr Pointer to late configuration params.
187 * @retval AGESA_STATUS Always succeeds
188 */
189
190AGESA_STATUS
191GnbInitAtLate (
192 IN OUT AMD_LATE_PARAMS *LateParamsPtr
193 )
194{
195
196 return AGESA_SUCCESS;
197}
198
199/*----------------------------------------------------------------------------------------*/
200/**
201 * AmdGnbRecovery
202 *
203 *
204 *
205 * @param[in] StdHeader Standard configuration header
206 * @retval AGESA_STATUS Always succeeds
207 */
208AGESA_STATUS
209AmdGnbRecovery (
210 IN AMD_CONFIG_PARAMS *StdHeader
211 )
212{
213 return AGESA_SUCCESS;
214}
215
216/*----------------------------------------------------------------------------------------*/
217/**
218 * Init GNB at Post after DRAM init
219 *
220 *
221 *
222 * @param[in] PostParamsPtr Pointer to post configuration parameters
223 * @retval Initialization status.
224 */
225
226AGESA_STATUS
227GnbInitAtPostAfterDram (
228 IN OUT AMD_POST_PARAMS *PostParamsPtr
229 )
230{
231 return AGESA_SUCCESS;
232}