[U-Boot] [PATCH 18/25] tpm: Convert to use a device parameter

Miquel Raynal miquel.raynal at bootlin.com
Wed Nov 7 07:56:02 UTC 2018


Hi Simon,

Simon Glass <sjg at chromium.org> wrote on Tue,  6 Nov 2018 15:21:35 -0700:

> At present many TPM calls assume there is only one TPM in the system and
> look up this TPM themselves. This is inconsistent with driver model, which
> expects all driver methods to have a device parameter. Update the code to
> correct this.
> 
> Also move to u8/32 instead of uint8_t/uint32_t to keep checkpatch happy.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---

Thanks for the cleanup!

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>


Thanks,
Miquèl


More information about the U-Boot mailing list