Skip to content
Commit 998af319 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 114b60a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment