From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 May 2018 11:59:10 -0400 Subject: [U-Boot] [PATCH v4 13/32] tpm: add macros to enhance TPM commands readability In-Reply-To: <20180515095728.16572-14-miquel.raynal@bootlin.com> References: <20180515095728.16572-1-miquel.raynal@bootlin.com> <20180515095728.16572-14-miquel.raynal@bootlin.com> Message-ID: <20180515155910.GY3424@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: