summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/xhci/Makefile.inc
diff options
context:
space:
mode:
authorRobert Zieba <robertzieba@google.com>2022-08-11 11:33:47 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-03-09 19:36:59 +0000
commit6cf287efa3749deee51f4ad57482cfeb0cc3103a (patch)
tree16b4f7dbf64dcbea8e7c7d63194276e01e1dd8bb /src/soc/amd/common/block/xhci/Makefile.inc
parentab0e680c8e027ef76b47a87d4d9e13068b50c630 (diff)
soc/amd/common/xhci: Add support for logging XHCI wake events
AMD SoCs currently only log the GPE# when an XHCI controller wakes the system. Add code to log XHCI wake events to the elog. BRANCH=guybrush BUG=b:186792595 TEST=builds Change-Id: Ic0489e1df55c4e63cb8a306099e3f31c82eebd58 Signed-off-by: Robert Zieba <robertzieba@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67936 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/soc/amd/common/block/xhci/Makefile.inc')
-rw-r--r--src/soc/amd/common/block/xhci/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/xhci/Makefile.inc b/src/soc/amd/common/block/xhci/Makefile.inc
new file mode 100644
index 0000000000..30f79b73cc
--- /dev/null
+++ b/src/soc/amd/common/block/xhci/Makefile.inc
@@ -0,0 +1,2 @@
+ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_XHCI) += xhci.c
+smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_XHCI_ELOG) += elog.c