sandbox: tpm: Add TPM emulation
authorSimon Glass <sjg@chromium.org>
Sun, 10 Nov 2013 17:27:05 +0000 (10:27 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 9 Jan 2014 00:25:12 +0000 (17:25 -0700)
commited3f5a30a7bc4254e516caad7f01baf4596359b7
tree00bc017ea0eb92e5d541f695f5d518fb0f09815c
parent1209e2727c60d052ce875aa39bb8b9ba2edbfbdf
sandbox: tpm: Add TPM emulation

Add a simple TPM emulator for sandbox. It only supports a small subset of
TPM operations. However, these are enough to perform common tasks.

Note this is an initial commit to get this working, but it could use
cleaning up (for example constants instead of open-coded values).

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/tpm/Makefile
drivers/tpm/tpm_tis_sandbox.c [new file with mode: 0644]
include/configs/sandbox.h