diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/libstb/drivers/tpm_i2c_interface.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/skiboot/libstb/drivers/tpm_i2c_interface.h')
-rw-r--r-- | roms/skiboot/libstb/drivers/tpm_i2c_interface.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roms/skiboot/libstb/drivers/tpm_i2c_interface.h b/roms/skiboot/libstb/drivers/tpm_i2c_interface.h new file mode 100644 index 000000000..514d8f835 --- /dev/null +++ b/roms/skiboot/libstb/drivers/tpm_i2c_interface.h @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later +/* Copyright 2013-2018 IBM Corp. */ + +#ifndef __TPM_I2C_H +#define __TPM_I2C_H + +#include <i2c.h> +#include <stdlib.h> + +#include "../tpm_chip.h" + +extern int tpm_i2c_request_send(struct tpm_dev *tpm_device, int read_write, + uint32_t offset, uint32_t offset_bytes, void* buf, + size_t buflen); +#endif /* __TPM_I2C_H */ |