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>
Loading
Please register or sign in to comment