usbdebug: Remove EHCI_DEBUG_OFFSET
Read this variable from PCI configuration capabilities list instead. Change-Id: I0cfe981833873397c32cd3aa2af307f35f01784b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5176 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
@@ -24,10 +24,12 @@
|
||||
void usbdebug_re_enable(unsigned ehci_base);
|
||||
void usbdebug_disable(void);
|
||||
|
||||
void ehci_debug_hw_enable(void);
|
||||
/* Returns 0 on success and sets MMIO base and dbg_offset if EHCI debug
|
||||
* capability was found and enabled. Returns non-zero on error.
|
||||
*/
|
||||
int ehci_debug_hw_enable(unsigned *base, unsigned *dbg_offset);
|
||||
void ehci_debug_select_port(unsigned int port);
|
||||
|
||||
|
||||
#define DBGP_EP_VALID (1<<0)
|
||||
#define DBGP_EP_ENABLED (1<<1)
|
||||
#define DBGP_EP_BUSY (1<<2)
|
||||
|
Reference in New Issue
Block a user