blob: 9c948fe2a188a667a74e641a4c7103bf9c53580b [file] [log] [blame]
Marc Jones8ae8c882007-12-19 01:32:08 +00001/*
Stefan Reinauer7e61e452008-01-18 10:35:56 +00002 * This file is part of the coreboot project.
Marc Jones8ae8c882007-12-19 01:32:08 +00003 *
4 * Copyright (C) 2007 Advanced Micro Devices, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20
21#define SERVER 0
22#define DESKTOP 1
23//#define MOBILE 2
24#define REV_F 0
25#define REV_DR 1
26#define REV_FDR 2
27
28
29/*----------------------------------------------------------------------------
30COMMENT OUT ALL BUT 1
31----------------------------------------------------------------------------*/
32//#define BUILD_VERSION REV_F /*BIOS supports rev F only*/
33//#define BUILD_VERSION REV_DR /*BIOS supports rev 10 only*/
34//#define BUILD_VERSION REV_FDR /*BIOS supports both rev F and 10*/
35
36/*----------------------------------------------------------------------------
37COMMENT OUT ALL BUT 1
38----------------------------------------------------------------------------*/
39#ifndef SYSTEM_TYPE
40#define SYSTEM_TYPE SERVER
41//#define SYSTEM_TYPE DESKTOP
42//#define SYSTEM_TYPE MOBILE
43#endif
44
45/*----------------------------------------------------------------------------
Marc Jones8ae8c882007-12-19 01:32:08 +000046UPDATE AS NEEDED
47----------------------------------------------------------------------------*/
Kerry She99cfa1e2010-08-30 07:31:31 +000048#ifndef MAX_NODES_SUPPORTED
Marc Jones8ae8c882007-12-19 01:32:08 +000049#define MAX_NODES_SUPPORTED 8
Kerry She99cfa1e2010-08-30 07:31:31 +000050#endif
51
52#ifndef MAX_DIMMS_SUPPORTED
Marc Jones8ae8c882007-12-19 01:32:08 +000053#define MAX_DIMMS_SUPPORTED 8
Kerry She99cfa1e2010-08-30 07:31:31 +000054#endif
55
56#ifndef MAX_CS_SUPPORTED
Marc Jones8ae8c882007-12-19 01:32:08 +000057#define MAX_CS_SUPPORTED 8
Kerry She99cfa1e2010-08-30 07:31:31 +000058#endif
59
Marc Jones471f1032011-06-03 19:59:52 +000060#ifndef MCT_DIMM_SPARE_NO_WARM
61#define MCT_DIMM_SPARE_NO_WARM 0
62#endif
63
64#ifndef MEM_MAX_LOAD_FREQ
65#if (CONFIG_DIMM_SUPPORT & 0x000F)==0x0005 /* AMD_FAM10_DDR3 */
66 #define MEM_MAX_LOAD_FREQ 800
67#else
68 #define MEM_MAX_LOAD_FREQ 400
69#endif
70#endif
71
Marc Jones8ae8c882007-12-19 01:32:08 +000072#define MCT_TRNG_KEEPOUT_START 0x00000C00
73#define MCT_TRNG_KEEPOUT_END 0x00000CFF
74