1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-17 16:02:33 +02:00

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>
This commit is contained in:
Simon Glass
2015-08-22 18:31:32 -06:00
parent f255d31f90
commit c8a8c51039
3 changed files with 53 additions and 6 deletions

View File

@@ -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.