[coreboot] [commit] r5187 - in trunk/src/cpu/intel: . slot_1

repository service svn at coreboot.org
Fri Mar 5 17:18:39 CET 2010


Author: uwe
Date: Fri Mar  5 17:18:38 2010
New Revision: 5187
URL: http://tracker.coreboot.org/trac/coreboot/changeset/5187

Log:
Add proper Slot 1 CPU support code/infrastructure.

Signed-off-by: Keith Hui <buurin at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

Added:
   trunk/src/cpu/intel/slot_1/
   trunk/src/cpu/intel/slot_1/Kconfig
   trunk/src/cpu/intel/slot_1/Makefile.inc
   trunk/src/cpu/intel/slot_1/chip.h
   trunk/src/cpu/intel/slot_1/slot_1.c
Modified:
   trunk/src/cpu/intel/Kconfig
   trunk/src/cpu/intel/Makefile.inc

Modified: trunk/src/cpu/intel/Kconfig
==============================================================================
--- trunk/src/cpu/intel/Kconfig	Fri Mar  5 11:20:28 2010	(r5186)
+++ trunk/src/cpu/intel/Kconfig	Fri Mar  5 17:18:38 2010	(r5187)
@@ -8,6 +8,7 @@
 source src/cpu/intel/bga956/Kconfig
 source src/cpu/intel/ep80579/Kconfig
 source src/cpu/intel/slot_2/Kconfig
+source src/cpu/intel/slot_1/Kconfig
 source src/cpu/intel/socket_mFCPGA478/Kconfig
 source src/cpu/intel/socket_mPGA478/Kconfig
 source src/cpu/intel/socket_mPGA479M/Kconfig

Modified: trunk/src/cpu/intel/Makefile.inc
==============================================================================
--- trunk/src/cpu/intel/Makefile.inc	Fri Mar  5 11:20:28 2010	(r5186)
+++ trunk/src/cpu/intel/Makefile.inc	Fri Mar  5 17:18:38 2010	(r5187)
@@ -13,6 +13,7 @@
 subdirs-$(CONFIG_CPU_INTEL_SOCKET_MPGA604) += socket_mPGA604
 subdirs-$(CONFIG_CPU_INTEL_SOCKET_PGA370) += socket_PGA370
 subdirs-$(CONFIG_CPU_INTEL_SLOT_2) += slot_2
+subdirs-$(CONFIG_CPU_INTEL_SLOT_1) += slot_1
 
 #socket_mPGA604_533Mhz
 #socket_mPGA604_800Mhz

Added: trunk/src/cpu/intel/slot_1/Kconfig
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/src/cpu/intel/slot_1/Kconfig	Fri Mar  5 17:18:38 2010	(r5187)
@@ -0,0 +1,33 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2010 Keith Hui <buurin at 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
+##
+
+config CPU_INTEL_SLOT_1
+	bool
+
+config DCACHE_RAM_BASE
+	hex
+	default 0xc0000
+	depends on CPU_INTEL_SLOT_1
+
+config DCACHE_RAM_SIZE
+	hex
+	default 0x01000
+	depends on CPU_INTEL_SLOT_1
+

Added: trunk/src/cpu/intel/slot_1/Makefile.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/src/cpu/intel/slot_1/Makefile.inc	Fri Mar  5 17:18:38 2010	(r5187)
@@ -0,0 +1,29 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe at hermann-uwe.de>
+##
+## 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
+##
+
+obj-y += slot_1.o
+subdirs-y += ../model_6xx
+subdirs-y += ../../x86/tsc
+subdirs-y += ../../x86/mtrr
+subdirs-y += ../../x86/lapic
+subdirs-y += ../../x86/cache
+subdirs-y += ../../x86/smm
+subdirs-y += ../microcode
+

Added: trunk/src/cpu/intel/slot_1/chip.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/src/cpu/intel/slot_1/chip.h	Fri Mar  5 17:18:38 2010	(r5187)
@@ -0,0 +1,24 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2010 Keith Hui <buurin at 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
+ */
+
+extern struct chip_operations cpu_intel_slot_1_ops;
+
+struct cpu_intel_slot_1_config {
+};

Added: trunk/src/cpu/intel/slot_1/slot_1.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/src/cpu/intel/slot_1/slot_1.c	Fri Mar  5 17:18:38 2010	(r5187)
@@ -0,0 +1,26 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2010 Keith Hui <buurin at 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
+ */
+
+#include <device/device.h>
+#include "chip.h"
+
+struct chip_operations cpu_intel_slot_1_ops = {
+	CHIP_NAME("Slot 1 CPU")
+};




More information about the coreboot mailing list