commonlib/bsd: Add Bluetooth wake source in ELOG event data
This commit introduces a new constant, ELOG_WAKE_SOURCE_PME_BLUETOOTH, with the value 0x31 to represent Bluetooth as a wake source in the ELOG event data structure. This change facilitates diagnostics and event logging related to Bluetooth activity. The cbfstool eventlog has been updated to include "PME - BLUETOOTH" in the wake source types for event data printing. Change-Id: Ib628502ddcccb4a781394a39b2aee6efa05ecf84 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89059 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
This commit is contained in:
parent
84ec1493a3
commit
3f926bc110
2 changed files with 2 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ struct elog_ec_event {
|
|||
#define ELOG_WAKE_SOURCE_PME_TCSS_XHCI 0x2e
|
||||
#define ELOG_WAKE_SOURCE_PME_TCSS_XDCI 0x2f
|
||||
#define ELOG_WAKE_SOURCE_PME_TCSS_DMA 0x30
|
||||
#define ELOG_WAKE_SOURCE_PME_BLUETOOTH 0x31
|
||||
|
||||
struct elog_event_data_wake {
|
||||
uint8_t source;
|
||||
|
|
|
|||
|
|
@ -321,6 +321,7 @@ static int eventlog_print_data(const struct event_header *event)
|
|||
{ELOG_WAKE_SOURCE_PME_TCSS_XHCI, "PME - TCSS XHCI"},
|
||||
{ELOG_WAKE_SOURCE_PME_TCSS_XDCI, "PME - TCSS XDCI"},
|
||||
{ELOG_WAKE_SOURCE_PME_TCSS_DMA, "PME - TCSS DMA"},
|
||||
{ELOG_WAKE_SOURCE_PME_BLUETOOTH, "PME - BLUETOOTH"},
|
||||
{0, NULL},
|
||||
};
|
||||
static const struct valstr ec_event_types[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue