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. |
Marc Jones | 8ae8c88 | 2007-12-19 01:32:08 +0000 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef AMDFAM10_NUMS_H |
| 17 | |
| 18 | #define AMDFAM10_NUMS_H |
| 19 | |
| 20 | #if CONFIG_MAX_PHYSICAL_CPUS > 8 |
| 21 | #if CONFIG_MAX_PHYSICAL_CPUS > 32 |
| 22 | #define NODE_NUMS 64 |
| 23 | #else |
| 24 | #define NODE_NUMS 32 |
| 25 | #endif |
| 26 | #else |
| 27 | #define NODE_NUMS 8 |
| 28 | #endif |
| 29 | |
| 30 | // max HC installed at the same time. ...could be bigger than (48+24) if we have 3x4x4 |
| 31 | #define HC_NUMS 32 |
| 32 | |
| 33 | //it could be more bigger |
| 34 | #define HC_POSSIBLE_NUM 32 |
| 35 | |
| 36 | #endif |