commit | 5ff3f169dd6f27c36cede70acaa87dc819d25951 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 01 11:55:17 2018 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 09 04:40:27 2018 -0600 |
tree | c2a349ec36400d673c753f71a6d40e6f2d4b4ace | |
parent | 15421f35e634d0afe5773ec93e66fc18c20aac27 [diff] |
sandbox: tpm: Tidy up enums and return values Use an enum for command values instead of open-coding them. This removes the need for comments. Also make sure the driver returns proper error numbers instead of -1. Signed-off-by: Simon Glass <sjg@chromium.org>