cpu: get rid of socket source code

None of the sockets has actual configuration options, so the source
for them is only cosmetical boilerplate. Hence, drop it. This reduces
the sockets to be selectors for certain CPU types, which will be dropped
in future commits, and mainboards will select their CPUs directly rather
than through an additional layer of indirection (sockets)

Change-Id: I0f52a65838875a73531ef8c92a171bb1a35be96e
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/9797
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
This commit is contained in:
Stefan Reinauer 2015-04-17 23:02:22 -07:00 committed by Stefan Reinauer
parent 99cc1aacc6
commit 2436bda11d
52 changed files with 0 additions and 297 deletions

View File

@ -1,4 +1,3 @@
ramstage-y += socket_754.c
subdirs-y += ../model_fxx
subdirs-y += ../dualcore
subdirs-y += ../mtrr

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_amd_socket_754_ops = {
CHIP_NAME("Socket 754 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_939.c
subdirs-y += ../model_fxx
subdirs-y += ../dualcore
subdirs-y += ../mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_amd_socket_939_ops = {
CHIP_NAME("Socket 939 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_940.c
subdirs-y += ../model_fxx
subdirs-y += ../dualcore
subdirs-y += ../mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_amd_socket_940_ops = {
CHIP_NAME("Socket 940 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_AM2.c
subdirs-y += ../model_fxx
subdirs-y += ../dualcore
subdirs-y += ../mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_amd_socket_AM2_ops = {
CHIP_NAME("Socket AM2 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_AM2r2.c
subdirs-y += ../model_10xxx
subdirs-y += ../quadcore
subdirs-y += ../mtrr

View File

@ -1,24 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 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>
struct chip_operations cpu_amd_socket_AM2r2_ops = {
CHIP_NAME("socket AM2r2")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_AM3.c
subdirs-y += ../model_10xxx
subdirs-y += ../quadcore
subdirs-y += ../mtrr

View File

@ -1,24 +0,0 @@
/*
* 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>
struct chip_operations cpu_amd_socket_AM3_ops = {
CHIP_NAME("socket AM3")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_ASB2.c
subdirs-y += ../model_10xxx
subdirs-y += ../quadcore
subdirs-y += ../mtrr

View File

@ -1,24 +0,0 @@
/*
* 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>
struct chip_operations cpu_amd_socket_ASB2_ops = {
CHIP_NAME("socket ASB2")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_C32.c
subdirs-y += ../model_10xxx
subdirs-y += ../quadcore
subdirs-y += ../mtrr

View File

@ -1,24 +0,0 @@
/*
* 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>
struct chip_operations cpu_amd_socket_C32_ops = {
CHIP_NAME("socket C32")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_F.c
subdirs-y += ../model_fxx
subdirs-y += ../dualcore
subdirs-y += ../mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_amd_socket_F_ops = {
CHIP_NAME("Socket F CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_F_1207.c
subdirs-y += ../model_10xxx
subdirs-y += ../quadcore
subdirs-y += ../mtrr

View File

@ -1,24 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 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>
struct chip_operations cpu_amd_socket_F_1207_ops = {
CHIP_NAME("socket F_1207")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_S1G1.c
subdirs-y += ../model_fxx
subdirs-y += ../dualcore
subdirs-y += ../mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_amd_socket_S1G1_ops = {
CHIP_NAME("Socket S1G1 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_441.c
subdirs-y += ../model_106cx
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr

View File

@ -1,24 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2009 coresystems GmbH
*
* 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>
struct chip_operations cpu_intel_socket_441_ops = {
CHIP_NAME("Socket 441 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_BGA956.c
subdirs-y += ../model_1067x
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_BGA956_ops = {
CHIP_NAME("Socket BGA956 CPU")
};

View File

@ -18,7 +18,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
ramstage-y += socket_FC_PGA370.c
subdirs-y += ../model_68x
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr

View File

@ -1,25 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2010 Joseph Smith <joe@settoplinux.org>
*
* 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>
struct chip_operations cpu_intel_socket_FC_PGA370_ops = {
CHIP_NAME("(FC)PGA370 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_LGA1155.c
subdirs-y += ../../x86/mtrr
subdirs-y += ../../x86/lapic
subdirs-y += ../../x86/cache

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_LGA1155_ops = {
CHIP_NAME("Socket LGA1155 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_LGA771.c
subdirs-y += ../model_6ex
subdirs-y += ../model_6fx
subdirs-y += ../../x86/tsc

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_LGA771_ops = {
CHIP_NAME("Socket LGA771 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_LGA775.c
subdirs-y += ../model_6ex
subdirs-y += ../model_6fx
subdirs-y += ../model_f3x

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_LGA775_ops = {
CHIP_NAME("Socket LGA775 CPU")
};

View File

@ -18,7 +18,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
ramstage-y += socket_PGA370.c
subdirs-y += ../model_6xx
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_PGA370_ops = {
CHIP_NAME("Socket PGA370 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_mFCBGA479.c
subdirs-y += ../model_6bx
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_mFCBGA479_ops = {
CHIP_NAME("Micro-FCBGA 479 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_mFCPGA478.c
subdirs-y += ../model_69x
subdirs-y += ../model_6dx
subdirs-y += ../model_6ex

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_mFCPGA478_ops = {
CHIP_NAME("Socket mFCPGA478 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_mPGA478.c
subdirs-y += ../model_69x
subdirs-y += ../model_6dx
subdirs-y += ../../x86/tsc

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_mPGA478_ops = {
CHIP_NAME("Socket mPGA478 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_mPGA479M.c
subdirs-y += ../model_69x
subdirs-y += ../model_6dx
subdirs-y += ../model_f2x

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_mPGA479M_ops = {
CHIP_NAME("Socket mPGA479M CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_mPGA603_400Mhz.c
subdirs-y += ../model_f0x
subdirs-y += ../model_f1x
subdirs-y += ../model_f2x

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_mPGA603_ops = {
CHIP_NAME("Socket mPGA603 400Mhz CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_mPGA604.c
subdirs-y += ../model_f2x
subdirs-y += ../model_f3x
subdirs-y += ../model_f4x

View File

@ -1,6 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_mPGA604_ops = {
CHIP_NAME("Socket mPGA604 CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_rPGA988B.c
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr
subdirs-y += ../../x86/lapic

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_rPGA988B_ops = {
CHIP_NAME("Socket rPGA988B CPU")
};

View File

@ -1,4 +1,3 @@
ramstage-y += socket_rPGA989.c
subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr
subdirs-y += ../../x86/lapic

View File

@ -1,5 +0,0 @@
#include <device/device.h>
struct chip_operations cpu_intel_socket_rPGA989_ops = {
CHIP_NAME("Socket rPGA989 CPU")
};