diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-04 19:18:59 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-06 11:13:31 +0100 |
commit | 9db1c4e51a24ca1d81cd0d764c01ddd612aab775 (patch) | |
tree | c207a345728d889f2bfa755be8d7c22412a4da26 | |
parent | 30fe6120ca8d7211f0055e47d3ecd569a628f2aa (diff) | |
download | coreboot-9db1c4e51a24ca1d81cd0d764c01ddd612aab775.tar.xz |
usbdebug: Drop obsolete code
Change-Id: I918ca1d0d0d7bcb7e16d41a12830a0357f15b8ed
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5130
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | src/cpu/intel/fsp_model_206ax/model_206ax_init.c | 16 | ||||
-rw-r--r-- | src/southbridge/intel/ibexpeak/thermal.c | 1 |
2 files changed, 0 insertions, 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 <cpu/x86/cache.h> #include <cpu/x86/name.h> #include <pc80/mc146818rtc.h> -#include <usbdebug.h> #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 <device/pci.h> #include <device/pci_ids.h> #include "pch.h" -#include <usbdebug.h> #include <arch/io.h> static void thermal_init(struct device *dev) |