summaryrefslogtreecommitdiff
path: root/src/include/usbdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usbdebug.h')
-rw-r--r--src/include/usbdebug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/usbdebug.h b/src/include/usbdebug.h
index 281ccde826..a7ab21fd27 100644
--- a/src/include/usbdebug.h
+++ b/src/include/usbdebug.h
@@ -32,6 +32,8 @@ struct ehci_debug_info {
u32 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);
void set_ehci_base(unsigned ehci_base);
@@ -40,5 +42,6 @@ unsigned get_ehci_debug(void);
void set_debug_port(unsigned port);
int early_usbdebug_init(void);
void usbdebug_tx_byte(unsigned char data);
-
+int usbdebug_init(unsigned ehci_bar, unsigned offset, struct ehci_debug_info *info);
+#endif
#endif