projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support to run SMM handler in TSEG instead of ASEG
[coreboot.git]
/
src
/
include
/
usbdebug.h
diff --git
a/src/include/usbdebug.h
b/src/include/usbdebug.h
index 54d817afe533bd9749c4a0c4799929efc48e8682..a7ab21fd27a9a94f55a0d2ab9cb3e67f16ea0d4f 100644
(file)
--- a/
src/include/usbdebug.h
+++ b/
src/include/usbdebug.h
@@
-27,21
+27,21
@@
struct ehci_debug_info {
void *ehci_caps;
void *ehci_regs;
void *ehci_debug;
void *ehci_caps;
void *ehci_regs;
void *ehci_debug;
- u
nsigned
devnum;
- u
nsigned
endpoint_out;
- u
nsigned
endpoint_in;
+ u
32
devnum;
+ u
32
endpoint_out;
+ u
32
endpoint_in;
};
};
+#ifndef __ROMCC__
+void enable_usbdebug(unsigned int port);
int dbgp_bulk_write_x(struct ehci_debug_info *dbg_info, const char *bytes, int size);
int dbgp_bulk_read_x(struct ehci_debug_info *dbg_info, void *data, int size);
int dbgp_bulk_write_x(struct ehci_debug_info *dbg_info, const char *bytes, int size);
int dbgp_bulk_read_x(struct ehci_debug_info *dbg_info, void *data, int size);
-int dbgp_control_msg(struct ehci_dbg_port *ehci_debug, unsigned devnum, int requesttype, int request,
- int value, int index, void *data, int size);
-int ehci_wait_for_port(struct ehci_regs *ehci_regs, int port);
void set_ehci_base(unsigned ehci_base);
void set_ehci_base(unsigned ehci_base);
-void set_ehci_debug(unsigned ehci_deug);
+void set_ehci_debug(unsigned ehci_de
b
ug);
unsigned get_ehci_debug(void);
void set_debug_port(unsigned port);
unsigned get_ehci_debug(void);
void set_debug_port(unsigned port);
-
void usbdebug_ram_tx_byte(unsigned char data
);
+
int early_usbdebug_init(void
);
void usbdebug_tx_byte(unsigned char data);
void usbdebug_tx_byte(unsigned char data);
-
+int usbdebug_init(unsigned ehci_bar, unsigned offset, struct ehci_debug_info *info);
+#endif
#endif
#endif