Hi Miquel, On 2 May 2018 at 02:59, Miquel Raynal <miquel.ray...@bootlin.com> 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.ray...@bootlin.com> > --- > lib/tpm-utils.h | 6 ++++++ > 1 file changed, 6 insertions(+)
I'm not a huge fan of the macro magic, but OK. Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot