
10 Oct
2018
10 Oct
'18
1:51 a.m.
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 ---
drivers/tpm/tpm_tis_sandbox.c | 20 ++++++++++---------- include/tpm-v1.h | 14 ++++++++++++++ include/tpm-v2.h | 1 + 3 files changed, 25 insertions(+), 10 deletions(-)
Applied to u-boot-dm