[U-Boot] [PATCH v2 2/5] tpm: fix reading of permanent flags

Simon Glass
2017-11-17T14:05:51Z

On 3 October 2017 at 09:55, André Draszik <git@andred.net> wrote:
> From: André Draszik <adraszik@tycoint.com>
>
> The offset of the permanent flags structure is in a different
> place in the response compared to what the code is doing,
> which gives us a completely useless result.
>
> Fix by replacing hand-crafted code with generic parser
> infrastructure.
>
> Signed-off-by: André Draszik <adraszik@tycoint.com>
> ---
> lib/tpm.c | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>