diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-08-01 17:59:21 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-02 15:02:34 -0700 |
commit | ec99f3913791bfe1935735ddcda18bd29ffcfd18 (patch) | |
tree | 0b75a5b223870dc29d9dafef419b7462337f8516 /include/ec_commands.h | |
parent | 7ed19ed220b795f9bc28832e7bddb891c383b4b2 (diff) | |
download | chrome-ec-ec99f3913791bfe1935735ddcda18bd29ffcfd18.tar.gz |
pd_log: Make PD logging more generic for general purpose logging
We can re-use our pd_log FIFO for other purposes, such as TPM logging.
Carve out event_log, a generic logging module which pd_log is compatible
with.
BUG=b:63760920
TEST=On kevin, verify PD logging is still functional and entries are
seen in dmesg.
BRANCH=None
Change-Id: I8e6ad6f93e9eebc676aca64652c60f81da471a94
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/597314
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r-- | include/ec_commands.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 30427dfafa..67d026118f 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -4041,7 +4041,11 @@ struct __ec_align2 ec_params_charge_port_override { int16_t override_port; /* Override port# */ }; -/* Read (and delete) one entry of PD event log */ +/* + * Read (and delete) one entry of PD event log. + * TODO(crbug.com/751742): Make this host command more generic to accommodate + * future non-PD logs that use the same internal EC event_log. + */ #define EC_CMD_PD_GET_LOG_ENTRY 0x0115 struct __ec_align4 ec_response_pd_log { |