summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include/amdblocks
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/include/amdblocks')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/xhci.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/xhci.h b/src/soc/amd/common/block/include/amdblocks/xhci.h
new file mode 100644
index 0000000000..6d1bc260a4
--- /dev/null
+++ b/src/soc/amd/common/block/include/amdblocks/xhci.h
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef AMD_BLOCK_XHCI_H
+#define AMD_BLOCK_XHCI_H
+
+#include <cpu/x86/smm.h>
+#include <device/pci_type.h>
+#include <device/pci_def.h>
+#include <device/xhci.h>
+
+#include <types.h>
+
+#define XHCI_GEVENT GEVENT_31
+
+#define SOC_XHCI_DEVICES {\
+ SOC_XHCI_0,\
+ SOC_XHCI_1,\
+ SOC_XHCI_2,\
+ SOC_XHCI_3,\
+ SOC_XHCI_4,\
+ SOC_XHCI_5,\
+ SOC_XHCI_6,\
+ SOC_XHCI_7,\
+}
+
+void soc_xhci_store_resources(struct smm_pci_resource_info *slots, size_t count);
+void soc_xhci_log_wake_events(void);
+
+#endif /* AMD_BLOCK_XHCI_H */