From 9db1c4e51a24ca1d81cd0d764c01ddd612aab775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 4 Feb 2014 19:18:59 +0200 Subject: usbdebug: Drop obsolete code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I918ca1d0d0d7bcb7e16d41a12830a0357f15b8ed Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5130 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/cpu/intel/fsp_model_206ax/model_206ax_init.c | 16 ---------------- src/southbridge/intel/ibexpeak/thermal.c | 1 - 2 files changed, 17 deletions(-) diff --git a/src/cpu/intel/fsp_model_206ax/model_206ax_init.c b/src/cpu/intel/fsp_model_206ax/model_206ax_init.c index 6eb4787353..c362ae3b55 100644 --- a/src/cpu/intel/fsp_model_206ax/model_206ax_init.c +++ b/src/cpu/intel/fsp_model_206ax/model_206ax_init.c @@ -34,7 +34,6 @@ #include #include #include -#include #include "model_206ax.h" #include "chip.h" @@ -289,10 +288,6 @@ static void configure_mca(void) wrmsr(IA32_MC0_STATUS + (i * 4), msr); } -#if CONFIG_USBDEBUG -static unsigned ehci_debug_addr; -#endif - /* * Initialize any extra cores/threads in this package. */ @@ -365,13 +360,6 @@ static void model_206ax_init(device_t cpu) fill_processor_name(processor_name); printk(BIOS_INFO, "CPU: %s.\n", processor_name); -#if CONFIG_USBDEBUG - // Is this caution really needed? - if(!ehci_debug_addr) - ehci_debug_addr = get_ehci_debug(); - set_ehci_debug(0); -#endif - /* Setup MTRRs based on physical address size */ cpuid_regs = cpuid(0x80000008); x86_setup_fixed_mtrrs(); @@ -381,10 +369,6 @@ static void model_206ax_init(device_t cpu) /* Setup Page Attribute Tables (PAT) */ // TODO set up PAT -#if CONFIG_USBDEBUG - set_ehci_debug(ehci_debug_addr); -#endif - /* Enable the local cpu apics */ enable_lapic_tpr(); setup_lapic(); diff --git a/src/southbridge/intel/ibexpeak/thermal.c b/src/southbridge/intel/ibexpeak/thermal.c index 11b65554a8..e01a6dbc74 100644 --- a/src/southbridge/intel/ibexpeak/thermal.c +++ b/src/southbridge/intel/ibexpeak/thermal.c @@ -23,7 +23,6 @@ #include #include #include "pch.h" -#include #include static void thermal_init(struct device *dev) -- cgit v1.2.3