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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user