diff options
author | Zheng Bao <zheng.bao@amd.com> | 2011-03-28 04:29:14 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2011-03-28 04:29:14 +0000 |
commit | 2ca2f177245fdfa34ae7bd732052c8984e2b8b7d (patch) | |
tree | b6852663c5c29001ed76241c73b5c7d135510a1d /src/cpu/amd/socket_C32 | |
parent | c3422235b14d97c16bd13113c522827d1cfda9b4 (diff) |
Add AMD C32 support.
It is based on other existing Fam10 code.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6464 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/socket_C32')
-rw-r--r-- | src/cpu/amd/socket_C32/Kconfig | 42 | ||||
-rw-r--r-- | src/cpu/amd/socket_C32/Makefile.inc | 14 | ||||
-rw-r--r-- | src/cpu/amd/socket_C32/chip.h | 23 | ||||
-rw-r--r-- | src/cpu/amd/socket_C32/socket_C32.c | 25 |
4 files changed, 104 insertions, 0 deletions
diff --git a/src/cpu/amd/socket_C32/Kconfig b/src/cpu/amd/socket_C32/Kconfig new file mode 100644 index 0000000000..7ffa374962 --- /dev/null +++ b/src/cpu/amd/socket_C32/Kconfig @@ -0,0 +1,42 @@ +config CPU_AMD_SOCKET_C32 + bool + select CPU_AMD_MODEL_10XXX + select HT3_SUPPORT + select PCI_IO_CFG_EXT + select CACHE_AS_RAM + +config CPU_SOCKET_TYPE + hex + default 0x14 + depends on CPU_AMD_SOCKET_C32 + +config EXT_RT_TBL_SUPPORT + bool + default n + depends on CPU_AMD_SOCKET_C32 + +config EXT_CONF_SUPPORT + bool + default n + depends on CPU_AMD_SOCKET_C32 + +config CBB + hex + default 0x0 + depends on CPU_AMD_SOCKET_C32 + +config CDB + hex + default 0x18 + depends on CPU_AMD_SOCKET_C32 + +config XIP_ROM_BASE + hex + default 0xfff80000 + depends on CPU_AMD_SOCKET_C32 + +config XIP_ROM_SIZE + hex + default 0x80000 + depends on CPU_AMD_SOCKET_C32 + diff --git a/src/cpu/amd/socket_C32/Makefile.inc b/src/cpu/amd/socket_C32/Makefile.inc new file mode 100644 index 0000000000..8ce43fb485 --- /dev/null +++ b/src/cpu/amd/socket_C32/Makefile.inc @@ -0,0 +1,14 @@ +ramstage-y += socket_C32.c +subdirs-y += ../model_10xxx +subdirs-y += ../quadcore +subdirs-y += ../mtrr +subdirs-y += ../microcode +subdirs-y += ../../x86/tsc +subdirs-y += ../../x86/lapic +subdirs-y += ../../x86/cache +subdirs-y += ../../x86/pae +subdirs-y += ../../x86/mtrr +subdirs-y += ../../x86/smm +subdirs-y += ../smm + +cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc diff --git a/src/cpu/amd/socket_C32/chip.h b/src/cpu/amd/socket_C32/chip.h new file mode 100644 index 0000000000..0e06de56e7 --- /dev/null +++ b/src/cpu/amd/socket_C32/chip.h @@ -0,0 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2010 Advanced Micro Devices, Inc. + * + * 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; version 2 of the License. + * + * 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 + */ + +extern struct chip_operations cpu_amd_socket_C32_ops; + +struct cpu_amd_socket_C32_config { +}; diff --git a/src/cpu/amd/socket_C32/socket_C32.c b/src/cpu/amd/socket_C32/socket_C32.c new file mode 100644 index 0000000000..266bfa0186 --- /dev/null +++ b/src/cpu/amd/socket_C32/socket_C32.c @@ -0,0 +1,25 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2010 Advanced Micro Devices, Inc. + * + * 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; version 2 of the License. + * + * 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 + */ + +#include <device/device.h> +#include "chip.h" + +struct chip_operations cpu_amd_socket_C32_ops = { + CHIP_NAME("socket C32") +}; |