9 * @xrefitem bom "File Content Label" "Release Content"
12 * @e \$Revision: 44324 $ @e \$Date: 2010-12-22 02:16:51 -0700 (Wed, 22 Dec 2010) $
16 *****************************************************************************
18 * Copyright (C) 2012 Advanced Micro Devices, Inc.
19 * All rights reserved.
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.
28 * * Neither the name of Advanced Micro Devices, Inc. nor the names of
29 * its contributors may be used to endorse or promote products derived
30 * from this software without specific prior written permission.
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.
43 * ***************************************************************************
47 /*----------------------------------------------------------------------------------------
48 * M O D U L E S U S E D
49 *----------------------------------------------------------------------------------------
52 /*----------------------------------------------------------------------------------------
53 * D E F I N I T I O N S A N D M A C R O S
54 *----------------------------------------------------------------------------------------
58 /*----------------------------------------------------------------------------------------
59 * T Y P E D E F S A N D S T R U C T U R E S
60 *----------------------------------------------------------------------------------------
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 *----------------------------------------------------------------------------------------
70 IN AMD_CONFIG_PARAMS *StdHeader
75 IN OUT AMD_EARLY_PARAMS *EarlyParamsPtr
79 GnbInitDataStructAtEnvDef (
80 IN OUT GNB_ENV_CONFIGURATION *GnbEnvConfigPtr,
81 IN AMD_ENV_PARAMS *EnvParamsPtr
86 IN AMD_ENV_PARAMS *EnvParamsPtr
91 IN OUT AMD_POST_PARAMS *PostParamsPtr
96 IN OUT AMD_MID_PARAMS *MidParamsPtr
101 IN OUT AMD_LATE_PARAMS *LateParamsPtr
106 IN AMD_CONFIG_PARAMS *StdHeader
110 GnbInitAtPostAfterDram (
111 IN OUT AMD_POST_PARAMS *PostParamsPtr
116 IN OUT AMD_EARLY_PARAMS *EarlyParamsPtr
119 /*----------------------------------------------------------------------------------------*/
121 * Init GNB at Reset Stub
125 * @param[in] StdHeader Standard configuration header
126 * @retval AGESA_SUCCESS Always succeeds
131 IN AMD_CONFIG_PARAMS *StdHeader
135 return AGESA_SUCCESS;
138 /*----------------------------------------------------------------------------------------*/
140 * Init GNB at Early Stub
144 * @param[in,out] EarlyParamsPtr Pointer to early configuration params.
145 * @retval AGESA_SUCCESS Always succeeds
150 IN OUT AMD_EARLY_PARAMS *EarlyParamsPtr
153 return AGESA_SUCCESS;
156 /*----------------------------------------------------------------------------------------*/
158 * Default constructor of GNB configuration at Env
162 * @param[in] GnbEnvConfigPtr Pointer to gnb env configuration params.
163 * @param[in] EnvParamsPtr Pointer to env configuration params.
166 GnbInitDataStructAtEnvDef (
167 IN OUT GNB_ENV_CONFIGURATION *GnbEnvConfigPtr,
168 IN AMD_ENV_PARAMS *EnvParamsPtr
174 /*----------------------------------------------------------------------------------------*/
180 * @param[in] EnvParamsPtr Pointer to env configuration params.
181 * @retval AGESA_SUCCESS Always succeeds
186 IN AMD_ENV_PARAMS *EnvParamsPtr
190 return AGESA_SUCCESS;
193 /*----------------------------------------------------------------------------------------*/
199 * @param[in,out] PostParamsPtr Pointer to Post configuration params.
200 * @retval AGESA_SUCCESS Always succeeds
205 IN OUT AMD_POST_PARAMS *PostParamsPtr
209 return AGESA_SUCCESS;
212 /*----------------------------------------------------------------------------------------*/
214 * Init GNB at Mid post
218 * @param[in,out] MidParamsPtr Pointer to mid configuration params.
219 * @retval AGESA_SUCCESS Always succeeds
224 IN OUT AMD_MID_PARAMS *MidParamsPtr
228 return AGESA_SUCCESS;
231 /*----------------------------------------------------------------------------------------*/
233 * Init GNB at Late post
237 * @param[in,out] LateParamsPtr Pointer to late configuration params.
238 * @retval AGESA_SUCCESS Always succeeds
243 IN OUT AMD_LATE_PARAMS *LateParamsPtr
247 return AGESA_SUCCESS;
250 /*----------------------------------------------------------------------------------------*/
256 * @param[in] StdHeader Standard configuration header
257 * @retval AGESA_SUCCESS Always succeeds
261 IN AMD_CONFIG_PARAMS *StdHeader
264 return AGESA_SUCCESS;
267 /*----------------------------------------------------------------------------------------*/
269 * Init GNB at Post after DRAM init
273 * @param[in] PostParamsPtr Pointer to post configuration parameters
274 * @retval AGESA_SUCCESS Always succeeds
278 GnbInitAtPostAfterDram (
279 IN OUT AMD_POST_PARAMS *PostParamsPtr
282 return AGESA_SUCCESS;
285 /*----------------------------------------------------------------------------------------*/
287 * Init GNB at Early Before CPU Stub
291 * @param[in,out] EarlyParamsPtr Pointer to early configuration params.
292 * @retval AGESA_SUCCESS Always succeeds
297 IN OUT AMD_EARLY_PARAMS *EarlyParamsPtr
300 return AGESA_SUCCESS;