summaryrefslogtreecommitdiff
path: root/src/drivers/usb/ehci_debug.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-07 19:24:23 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-10 19:34:20 +0100
commitcb141bce35d6b0ee08a14c1097fa19bc10e4d9e7 (patch)
tree2661632eee56b6ac5f31fc87d8b0fef67ce06aef /src/drivers/usb/ehci_debug.h
parent48e899d2d5d7adfccecbde5b75b7d8e7a1394af4 (diff)
downloadcoreboot-cb141bce35d6b0ee08a14c1097fa19bc10e4d9e7.tar.xz
usbdebug: Split PCI EHCI part
There are EHCI compatible host controllers on ARM without PCI bus architecture. Currently we have not come across one with the debug capability though. Change-Id: I8775c9814f6fdf8754f97265118a7186369d721d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5175 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/drivers/usb/ehci_debug.h')
-rw-r--r--src/drivers/usb/ehci_debug.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/drivers/usb/ehci_debug.h b/src/drivers/usb/ehci_debug.h
new file mode 100644
index 0000000000..462eb233cc
--- /dev/null
+++ b/src/drivers/usb/ehci_debug.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
+ */
+
+#ifndef _EHCI_DEBUG_H_
+#define _EHCI_DEBUG_H_
+
+void usbdebug_re_enable(unsigned ehci_base);
+void usbdebug_disable(void);
+
+void ehci_debug_hw_enable(void);
+void ehci_debug_select_port(unsigned int port);
+
+#endif /* _EHCI_DEBUG_H_ */