1/* 2 * This file is part of the coreboot project. 3 * Constants that are mainboard-defined and do not belong in Kconfig. 4 * We really do not want this stuff to be visible -- it will make it appear that they can be 5 * changed, and they can not. 6 * 7 * Copyright (C) 2007 Ronald G. Minnich <rminnich@gmail.com> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22 */ 23 24#define CPU_SOCKET_TYPE SOCKET_AM2 25#define MEM_TRAIN_SEQ 0 /* for now */ 26#define HW_MEM_HOLE_SIZE_AUTO_INC 0 27#define HW_MEM_HOLE_SIZEK 0x100000 28#define HT_CHAIN_UNITID_BASE 0xa 29#define HT_CHAIN_END_UNITID_BASE 0x6 30#define SB_HT_CHAIN_ON_BUS0 2 31#define SB_HT_CHAIN_UNITID_OFFSET_ONLY 1 32#define ENABLE_APIC_EXT_ID 0 33#define LIFT_BSP_APIC_ID 1 34#define K8_SET_FIDVID 1 35/* MSR FIDVID_CTL and FIDVID_STATUS are shared by cores, 36 * so may don't need to do twice */ 37#define K8_SET_FIDVID_CORE0_ONLY 1 38 39/* architecture stuff which ought to be set "somewhere" "SOMEHOW" */ 40/* preferably by asking the CPU, not be a DEFINE! */ 41#define CPU_ADDR_BITS 40 42

