summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/pch/usb_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/pch/usb_debug.c')
-rw-r--r--src/soc/intel/broadwell/pch/usb_debug.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/pch/usb_debug.c b/src/soc/intel/broadwell/pch/usb_debug.c
new file mode 100644
index 0000000000..0fda336d14
--- /dev/null
+++ b/src/soc/intel/broadwell/pch/usb_debug.c
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+// Use simple device model for this file even in ramstage
+#define __SIMPLE_DEVICE__
+
+#include <device/pci_ehci.h>
+#include <device/pci_def.h>
+
+pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
+{
+ return PCI_DEV(0, 0x1d, 0);
+}
+
+void pci_ehci_dbg_set_port(pci_devfn_t dev, unsigned int port)
+{
+ /* Hardcoded to physical port 1 */
+}