From 2436bda11dbb5839325708e306fd0872a0f90674 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 17 Apr 2015 23:02:22 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/9797 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/cpu/amd/socket_AM2r2/Makefile.inc | 1 - src/cpu/amd/socket_AM2r2/socket_AM2r2.c | 24 ------------------------ 2 files changed, 25 deletions(-) delete mode 100644 src/cpu/amd/socket_AM2r2/socket_AM2r2.c (limited to 'src/cpu/amd/socket_AM2r2') diff --git a/src/cpu/amd/socket_AM2r2/Makefile.inc b/src/cpu/amd/socket_AM2r2/Makefile.inc index 1c2b683b6a..327e4a159c 100644 --- a/src/cpu/amd/socket_AM2r2/Makefile.inc +++ b/src/cpu/amd/socket_AM2r2/Makefile.inc @@ -1,4 +1,3 @@ -ramstage-y += socket_AM2r2.c subdirs-y += ../model_10xxx subdirs-y += ../quadcore subdirs-y += ../mtrr diff --git a/src/cpu/amd/socket_AM2r2/socket_AM2r2.c b/src/cpu/amd/socket_AM2r2/socket_AM2r2.c deleted file mode 100644 index ffdcab576f..0000000000 --- a/src/cpu/amd/socket_AM2r2/socket_AM2r2.c +++ /dev/null @@ -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 - -struct chip_operations cpu_amd_socket_AM2r2_ops = { - CHIP_NAME("socket AM2r2") -}; -- cgit v1.2.3