commit | 998af319031f9c5ac89228e532a6802455c0f65b | [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 | 114b60a7e62db25bcf26d5dddcfabecbc0160086 [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>