commit | e8155dfe33eb2b3e538e8717d6578c1d08651454 | [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 | 3fe3839acc4a5d9b1af9b2ab3884b0d3f2e23370 [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>