Marc Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 1 | /* |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | * This file is part of the coreboot project. |
Marc Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 3 | * |
| 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 | /*---------------------------------------------------------------------------- |
| 30 | COMMENT 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 | /*---------------------------------------------------------------------------- |
| 37 | COMMENT 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 Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 46 | UPDATE AS NEEDED |
| 47 | ----------------------------------------------------------------------------*/ |
Kerry She | 99cfa1e | 2010-08-30 07:31:31 +0000 | [diff] [blame] | 48 | #ifndef MAX_NODES_SUPPORTED |
Marc Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 49 | #define MAX_NODES_SUPPORTED 8 |
Kerry She | 99cfa1e | 2010-08-30 07:31:31 +0000 | [diff] [blame] | 50 | #endif |
| 51 | |
| 52 | #ifndef MAX_DIMMS_SUPPORTED |
Marc Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 53 | #define MAX_DIMMS_SUPPORTED 8 |
Kerry She | 99cfa1e | 2010-08-30 07:31:31 +0000 | [diff] [blame] | 54 | #endif |
| 55 | |
| 56 | #ifndef MAX_CS_SUPPORTED |
Marc Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 57 | #define MAX_CS_SUPPORTED 8 |
Kerry She | 99cfa1e | 2010-08-30 07:31:31 +0000 | [diff] [blame] | 58 | #endif |
| 59 | |
Marc Jones | 471f103 | 2011-06-03 19:59:52 +0000 | [diff] [blame] | 60 | #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 Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 72 | #define MCT_TRNG_KEEPOUT_START 0x00000C00 |
| 73 | #define MCT_TRNG_KEEPOUT_END 0x00000CFF |
| 74 | |