summaryrefslogtreecommitdiff
path: root/include/configs/sandbox.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-11-10 10:27:05 -0700
committerSimon Glass <sjg@chromium.org>2014-01-08 17:25:12 -0700
commited3f5a30a7bc4254e516caad7f01baf4596359b7 (patch)
tree00bc017ea0eb92e5d541f695f5d518fb0f09815c /include/configs/sandbox.h
parent1209e2727c60d052ce875aa39bb8b9ba2edbfbdf (diff)
downloadu-boot-imx-ed3f5a30a7bc4254e516caad7f01baf4596359b7.zip
u-boot-imx-ed3f5a30a7bc4254e516caad7f01baf4596359b7.tar.gz
u-boot-imx-ed3f5a30a7bc4254e516caad7f01baf4596359b7.tar.bz2
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>
Diffstat (limited to 'include/configs/sandbox.h')
-rw-r--r--include/configs/sandbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 98bdd70..a6d5582 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -129,4 +129,6 @@
#define CONFIG_LZO
#define CONFIG_LZMA
+#define CONFIG_TPM_TIS_SANDBOX
+
#endif