Frank Vibrans | 2b4c831 | 2011-02-14 18:30:54 +0000 | [diff] [blame] | 1 | /* $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 |
efdesign98 | 84cbce2 | 2011-08-04 12:09:17 -0600 | [diff] [blame] | 12 | * @e \$Revision: 44325 $ @e \$Date: 2010-12-22 03:29:53 -0700 (Wed, 22 Dec 2010) $ |
Frank Vibrans | 2b4c831 | 2011-02-14 18:30:54 +0000 | [diff] [blame] | 13 | * |
| 14 | */ |
| 15 | /* |
efdesign98 | 84cbce2 | 2011-08-04 12:09:17 -0600 | [diff] [blame] | 16 | ***************************************************************************** |
| 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'Callaghan | e963b38 | 2014-07-06 19:27:14 +1000 | [diff] [blame] | 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 |
efdesign98 | 84cbce2 | 2011-08-04 12:09:17 -0600 | [diff] [blame] | 30 | * 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 Vibrans | 2b4c831 | 2011-02-14 18:30:54 +0000 | [diff] [blame] | 46 | |
| 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 | |
| 78 | AGESA_STATUS |
| 79 | GnbInitAtReset ( |
| 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 | |
| 97 | AGESA_STATUS |
| 98 | GnbInitAtEarly ( |
| 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 | */ |
| 114 | VOID |
| 115 | GnbInitDataStructAtEnvDef ( |
| 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 | |
| 133 | AGESA_STATUS |
| 134 | GnbInitAtEnv ( |
| 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 | |
| 152 | AGESA_STATUS |
| 153 | GnbInitAtPost ( |
| 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 | |
| 171 | AGESA_STATUS |
| 172 | GnbInitAtMid ( |
| 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 | |
| 190 | AGESA_STATUS |
| 191 | GnbInitAtLate ( |
| 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 | */ |
| 208 | AGESA_STATUS |
| 209 | AmdGnbRecovery ( |
| 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 | |
| 226 | AGESA_STATUS |
| 227 | GnbInitAtPostAfterDram ( |
| 228 | IN OUT AMD_POST_PARAMS *PostParamsPtr |
| 229 | ) |
| 230 | { |
| 231 | return AGESA_SUCCESS; |
| 232 | } |