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>
This commit is contained in:
parent
30fe6120ca
commit
9db1c4e51a
|
@ -34,7 +34,6 @@
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <cpu/x86/name.h>
|
#include <cpu/x86/name.h>
|
||||||
#include <pc80/mc146818rtc.h>
|
#include <pc80/mc146818rtc.h>
|
||||||
#include <usbdebug.h>
|
|
||||||
#include "model_206ax.h"
|
#include "model_206ax.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
@ -289,10 +288,6 @@ static void configure_mca(void)
|
||||||
wrmsr(IA32_MC0_STATUS + (i * 4), msr);
|
wrmsr(IA32_MC0_STATUS + (i * 4), msr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_USBDEBUG
|
|
||||||
static unsigned ehci_debug_addr;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize any extra cores/threads in this package.
|
* 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);
|
fill_processor_name(processor_name);
|
||||||
printk(BIOS_INFO, "CPU: %s.\n", 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 */
|
/* Setup MTRRs based on physical address size */
|
||||||
cpuid_regs = cpuid(0x80000008);
|
cpuid_regs = cpuid(0x80000008);
|
||||||
x86_setup_fixed_mtrrs();
|
x86_setup_fixed_mtrrs();
|
||||||
|
@ -381,10 +369,6 @@ static void model_206ax_init(device_t cpu)
|
||||||
/* Setup Page Attribute Tables (PAT) */
|
/* Setup Page Attribute Tables (PAT) */
|
||||||
// TODO set up PAT
|
// TODO set up PAT
|
||||||
|
|
||||||
#if CONFIG_USBDEBUG
|
|
||||||
set_ehci_debug(ehci_debug_addr);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable the local cpu apics */
|
/* Enable the local cpu apics */
|
||||||
enable_lapic_tpr();
|
enable_lapic_tpr();
|
||||||
setup_lapic();
|
setup_lapic();
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include <usbdebug.h>
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
|
||||||
static void thermal_init(struct device *dev)
|
static void thermal_init(struct device *dev)
|
||||||
|
|
Loading…
Reference in New Issue