summaryrefslogtreecommitdiff
path: root/src/cpu/intel/model_f1x/model_f1x_init.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-01-17 15:11:41 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2018-01-18 19:34:22 +0000
commit3fff81710c0e8881e4dcea182d4b728359acecbb (patch)
tree7cfb8b9f0f7dc80bdf2cde983f94c5d72eb0ec56 /src/cpu/intel/model_f1x/model_f1x_init.c
parentfda071ca7a17614a58c0812c28b14a417471b915 (diff)
downloadcoreboot-3fff81710c0e8881e4dcea182d4b728359acecbb.tar.xz
cpu/intel: Remove unused CPU code
Change-Id: I44574e64e621ea60d559d593694af36c648fb7d7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/23302 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/cpu/intel/model_f1x/model_f1x_init.c')
-rw-r--r--src/cpu/intel/model_f1x/model_f1x_init.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/cpu/intel/model_f1x/model_f1x_init.c b/src/cpu/intel/model_f1x/model_f1x_init.c
deleted file mode 100644
index e0ef3fed28..0000000000
--- a/src/cpu/intel/model_f1x/model_f1x_init.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * 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.
- */
-
-#include <console/console.h>
-#include <device/device.h>
-#include <string.h>
-#include <cpu/cpu.h>
-#include <cpu/x86/mtrr.h>
-#include <cpu/x86/msr.h>
-#include <cpu/x86/lapic.h>
-#include <cpu/intel/microcode.h>
-#include <cpu/x86/cache.h>
-
-static void model_f1x_init(struct device *dev)
-{
- /* Turn on caching if we haven't already */
- x86_enable_cache();
- x86_setup_mtrrs();
- x86_mtrr_check();
-
- /* Update the microcode */
- intel_update_microcode_from_cbfs();
-
- /* Enable the local CPU APICs */
- setup_lapic();
-};
-
-static struct device_operations cpu_dev_ops = {
- .init = model_f1x_init,
-};
-
-static const struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_INTEL, 0x0f12 },
- { X86_VENDOR_INTEL, 0x0f13 },
- { 0, 0 },
-};
-
-static const struct cpu_driver driver __cpu_driver = {
- .ops = &cpu_dev_ops,
- .id_table = cpu_table,
-};