mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
since the box it is on is kinda old. I realize it is wrong but it is getting there. The k8 startup is a work of genius. I hope at some point it will be a work of genius that the rest of us can understand :-) But it's very impressive code in how it works. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@836 f3766cd6-281f-0410-b1cd-43a5c92072e9
35 lines
1.4 KiB
C
35 lines
1.4 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
* Constants that are mainboard-defined and do not belong in Kconfig.
|
|
* We really do not want this stuff to be visible -- it will make it appear that they can be
|
|
* changed, and they can not.
|
|
*
|
|
* Copyright (C) 2007 Ronald G. Minnich <rminnich@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#define DIMM_SOCKETS 4
|
|
#define NODE_NUMS 16
|
|
#define CPU_SOCKET_TYPE SOCKET_AM2
|
|
#define MEM_TRAIN_SEQ 0 /* for now */
|
|
#define HW_MEM_HOLE_SIZE_AUTO_INC 0
|
|
#define HW_MEM_HOLE_SIZEK 0x100000
|
|
#define HT_CHAIN_UNITID_BASE 0xa
|
|
#define HT_CHAIN_END_UNITID_BASE 0x6
|
|
#define SB_HT_CHAIN_ON_BUS0 2
|
|
#define SB_HT_CHAIN_UNITID_OFFSET_ONLY 1
|
|
#define ENABLE_APIC_EXT_ID 0
|
|
#define LIFT_BSP_APIC_ID 1
|