![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <arch/io.h>
#include <device/mmio.h>
#include <device/pci_ehci.h>
#include <device/pci_def.h>
#include "hudson.h"
Go to the source code of this file.
Macros | |
#define | __SIMPLE_DEVICE__ |
#define | DEBUGPORT_MISC_CONTROL 0x80 |
Functions | |
pci_devfn_t | pci_ehci_dbg_dev (unsigned int hcd_idx) |
void | pci_ehci_dbg_set_port (pci_devfn_t dev, unsigned int port) |
#define __SIMPLE_DEVICE__ |
Definition at line 4 of file enable_usbdebug.c.
#define DEBUGPORT_MISC_CONTROL 0x80 |
Definition at line 13 of file enable_usbdebug.c.
pci_devfn_t pci_ehci_dbg_dev | ( | unsigned int | hcd_idx | ) |
void pci_ehci_dbg_set_port | ( | pci_devfn_t | dev, |
unsigned int | port | ||
) |
Definition at line 29 of file enable_usbdebug.c.
References DEBUGPORT_MISC_CONTROL, pci_ehci_base_regs(), read32(), and write32().