5 * Install of build options for a Maranello platform solution
7 * This file generates the defaults tables for the "Maranello" platform solution
8 * set of processors. The documented build options are imported from a user
9 * controlled file for processing.
11 * @xrefitem bom "File Content Label" "Release Content"
13 * @e sub-project: Core
14 * @e \$Revision: 59375 $ @e \$Date: 2011-09-21 13:24:35 -0600 (Wed, 21 Sep 2011) $
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.
44 ***************************************************************************/
46 #include "cpuRegisters.h"
47 #include "cpuFamRegisters.h"
48 #include "cpuFamilyTranslation.h"
49 #include "AdvancedApi.h"
50 #include "heapManager.h"
51 #include "CreateStruct.h"
52 #include "cpuFeatures.h"
54 #include "CommonReturns.h"
55 #include "cpuEarlyInit.h"
56 #include "cpuLateInit.h"
57 #include "GnbInterfaceStub.h"
59 /*****************************************************************************
60 * Define the RELEASE VERSION string
62 * The Release Version string should identify the next planned release.
63 * When a branch is made in preparation for a release, the release manager
64 * should change/confirm that the branch version of this file contains the
65 * string matching the desired version for the release. The trunk version of
66 * the file should always contain a trailing 'X'. This will make sure that a
67 * development build from trunk will not be confused for a released version.
68 * The release manager will need to remove the trailing 'X' and update the
69 * version string as appropriate for the release. The trunk copy of this file
70 * should also be updated/incremented for the next expected version, + trailing 'X'
71 ****************************************************************************/
72 // This is the delivery package title, "MarG34PI"
73 // This string MUST be exactly 8 characters long
74 #define AGESA_PACKAGE_STRING {'O', 'r', 'o', 'c', 'h', 'i', 'P', 'I'}
76 // This is the release version number of the AGESA component
77 // This string MUST be exactly 12 characters long
78 #define AGESA_VERSION_STRING {'V', '1', '.', '2', '.', '0', '.', '0', ' ', ' ', ' ', ' '}
82 // The Maranello solution is defined to be families 0x10 and 0x15 models 0x0 - 0xF in the G34 socket.
83 #define INSTALL_G34_SOCKET_SUPPORT TRUE
84 #define INSTALL_FAMILY_10_SUPPORT TRUE
85 #define INSTALL_FAMILY_15_MODEL_0x_SUPPORT TRUE
87 #ifdef BLDOPT_REMOVE_FAMILY_10_SUPPORT
88 #if BLDOPT_REMOVE_FAMILY_10_SUPPORT == TRUE
89 #undef INSTALL_FAMILY_10_SUPPORT
90 #define INSTALL_FAMILY_10_SUPPORT FALSE
94 #ifdef BLDOPT_REMOVE_FAMILY_15_SUPPORT
95 #if BLDOPT_REMOVE_FAMILY_15_SUPPORT == TRUE
96 #undef INSTALL_FAMILY_15_MODEL_0x_SUPPORT
97 #define INSTALL_FAMILY_15_MODEL_0x_SUPPORT FALSE
102 // The following definitions specify the default values for various parameters in which there are
103 // no clearly defined defaults to be used in the common file. The values below are based on product
104 // and BKDG content, please consult the AGESA Memory team for consultation.
105 #define DFLT_SCRUB_DRAM_RATE (0xFF)
106 #define DFLT_SCRUB_L2_RATE (0x10)
107 #define DFLT_SCRUB_L3_RATE (0x10)
108 #define DFLT_SCRUB_IC_RATE (0)
109 #define DFLT_SCRUB_DC_RATE (0x12)
110 #define DFLT_MEMORY_QUADRANK_TYPE QUADRANK_REGISTERED
111 #define DFLT_VRM_SLEW_RATE (2500)
114 // Instantiate all solution relevant data.
115 #include "PlatformInstall.h"