diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-22 18:31:32 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-31 07:57:28 -0600 |
commit | c8a8c51039d83149a93fccb6e325bfdb8f63fa66 (patch) | |
tree | 800d397e9b950d551f895f419c7afc892055fdac /include/tpm.h | |
parent | f255d31f9063e50b56208fff439b63039cfd7ac6 (diff) | |
download | u-boot-c8a8c51039d83149a93fccb6e325bfdb8f63fa66.tar.gz |
dm: tpm: Convert the TPM command and library to driver model
Add driver model support to the TPM command and the TPM library. Both
support only a single TPM at present.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Christophe Ricard<christophe-h.ricard@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/tpm.h')
-rw-r--r-- | include/tpm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tpm.h b/include/tpm.h index e4472d3ed4..445952b055 100644 --- a/include/tpm.h +++ b/include/tpm.h @@ -349,7 +349,7 @@ int tpm_xfer(struct udevice *dev, const uint8_t *sendbuf, size_t send_size, * * @return 0 on success, non-0 on error. */ -uint32_t tpm_init(void); +int tpm_init(void); /** * Issue a TPM_Startup command. |