[U-Boot] [PATCH v4 13/32] tpm: add macros to enhance TPM commands readability

Tom Rini trini at konsulko.com
Tue May 15 15:59:10 UTC 2018


On Tue, May 15, 2018 at 11:57:09AM +0200, Miquel Raynal wrote:

> TPM commands are much easier to read/write with these macros that will
> transform words or integers into byte strings. This way, there is no
> need to call pack_byte_string() while all variable length in a command
> are known (and at must 4 bytes, which is a lot of them).
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180515/c0f770b9/attachment.sig>


More information about the U-Boot mailing list