commit | 1361fbc53ed0c5b826b46fb0b72d8ab513e51b27 | [log] [tgz] |
---|---|---|
author | André Draszik <adraszik@tycoint.com> | Tue Oct 03 16:55:51 2017 +0100 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 16 19:10:29 2017 -0700 |
tree | a85c7bfbc75f9b028ec79069f48f8bcf5715ee0b | |
parent | 13ee6da3efdffee02d9c6368b3e6f6af0d89bee0 [diff] |
tpm: fix reading of permanent flags 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> Acked-by: Simon Glass <sjg@chromium.org>