<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 6/20/10 10:04 AM, Joseph Smith wrote:
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">Hello,
  <br>
This patch adds a new socket for FCPGA370 and PGA370 CPU's. This new
socket (called socket_FC_PGA370) will make the CAR transition alot
easier. When done transitioning all the boards and cpu's the old
socket_PGA370 (kind of misleading for the FC's) can be deleted as well
as model_6xx. I will be testing a bunch of 370 cpu's this week so
hopefully the model_6xx will be no longer needed. This patch also
includes first CAR support for model_68x FCPGA CPU's.
  <br>
  <br>
Build and boot tested.
  <br>
  <br>
Signed-off by: Joseph Smith <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="mailto:joe@settoplinux.org"><joe@settoplinux.org></a>
  <br>
  </div>
</blockquote>
with two caveats:<br>
<br>
Acked-by: Stefan Reinauer <a class="moz-txt-link-rfc2396E" href="mailto:stepan@coresystems.de"><stepan@coresystems.de></a><br>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">Index: src/cpu/intel/Kconfig
===================================================================
--- src/cpu/intel/Kconfig       (revision 5634)
+++ src/cpu/intel/Kconfig       (working copy)
  </pre>
  </div>
</blockquote>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">@@ -17,6 +18,7 @@
 source src/cpu/intel/bga956/Kconfig
 source src/cpu/intel/slot_2/Kconfig
 source src/cpu/intel/slot_1/Kconfig
+source src/cpu/intel/socket_FC_PGA370/Kconfig
  </pre>
  </div>
</blockquote>
FCPGA<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">Index: src/cpu/intel/Makefile.inc
===================================================================
--- src/cpu/intel/Makefile.inc  (revision 5634)
+++ src/cpu/intel/Makefile.inc  (working copy)
@@ -6,6 +6,7 @@
 subdirs-$(CONFIG_CPU_INTEL_SOCKET_441) += socket_441
 subdirs-$(CONFIG_CPU_INTEL_SOCKET_BGA956) += bga956
 subdirs-$(CONFIG_CPU_INTEL_EP80579) += ep80579
+subdirs-$(CONFIG_CPU_INTEL_SOCKET_FC_PGA370) += socket_FC_PGA370
  </pre>
  </div>
</blockquote>
FCPGA<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">Index: src/cpu/intel/socket_FC_PGA370/Kconfig
===================================================================
--- src/cpu/intel/socket_FC_PGA370/Kconfig      (revision 0)
+++ src/cpu/intel/socket_FC_PGA370/Kconfig      (revision 0)
  </pre>
  </div>
</blockquote>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">+
+config CPU_INTEL_SOCKET_FC_PGA370
  </pre>
  </div>
</blockquote>
FCPGA<br>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">Index: src/cpu/intel/socket_FC_PGA370/socket_FC_PGA370.c
===================================================================
--- src/cpu/intel/socket_FC_PGA370/socket_FC_PGA370.c   (revision 0)
+++ src/cpu/intel/socket_FC_PGA370/socket_FC_PGA370.c   (revision 0)
@@ -0,0 +1,26 @@
  </pre>
  </div>
</blockquote>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">+
+#include <device/device.h>
+#include "chip.h"
+
+struct chip_operations cpu_intel_socket_FC_PGA370_ops = {
  </pre>
  </div>
</blockquote>
FCPGA<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">+        CHIP_NAME("(FC)PGA370 CPU")
+};
Index: src/cpu/intel/socket_FC_PGA370/Makefile.inc
===================================================================
--- src/cpu/intel/socket_FC_PGA370/Makefile.inc (revision 0)
+++ src/cpu/intel/socket_FC_PGA370/Makefile.inc (revision 0)
@@ -0,0 +1,30 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2010 Joseph Smith <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="mailto:joe@settoplinux.org"><joe@settoplinux.org></a>
+##
+## 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 += socket_FC_PGA370.o
  </pre>
  </div>
</blockquote>
FCPGA<br>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">+
+extern struct chip_operations cpu_intel_socket_FC_PGA370_ops;
+
+struct cpu_intel_socket_FC_PGA370_config {
+};
  </pre>
  </div>
</blockquote>
This should be FCPGA370 or mFCPGA370<br>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">Index: src/cpu/intel/model_68x/model_68x_init.c
===================================================================
--- src/cpu/intel/model_68x/model_68x_init.c    (revision 0)
+++ src/cpu/intel/model_68x/model_68x_init.c    (revision 0)
  </pre>
  </div>
</blockquote>
[..]<br>
<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">+
+static struct cpu_device_id cpu_table[] = {
  </pre>
  </div>
</blockquote>
Do add 680 here too. In fact, if you add 680 all the others can be
omitted.<br>
<blockquote cite="mid:4C1DCB9A.4070200@settoplinux.org" type="cite">
  <div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre wrap="">+        { X86_VENDOR_INTEL, 0x0681 },
+       { X86_VENDOR_INTEL, 0x0683 },
+       { X86_VENDOR_INTEL, 0x0686 },
+       { X86_VENDOR_INTEL, 0x068a },
+       { 0, 0 },
+};
+
+static const struct cpu_driver driver __cpu_driver = {
+       .ops      = &cpu_dev_ops,
+       .id_table = cpu_table,
+};
+</pre>
  </div>
</blockquote>
<br>
</body>
</html>