summaryrefslogtreecommitdiff
path: root/include/tpm_log.h
blob: d93456029040ad45e7969c34f321727eb2a8b5c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright 2017 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __CROS_EC_TPM_LOG_H
#define __CROS_EC_TPM_LOG_H

#include "event_log.h"

enum tpm_event {
	TPM_EVENT_INIT,
	/* TODO: Add log events */
};

/* Log TPM event of given type with data payload. */
void tpm_log_event(enum tpm_event type, uint16_t data);

#endif /* __CROS_EC_TPM_LOG_H */