aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMario Six2017-01-11 16:00:50 +0100
committerStefan Roese2017-02-01 09:02:57 +0100
commit7690be35deaeac1cb51a5f7896c2a46afabdfad3 (patch)
treedb7c33f5f0e6bc909f80159fa1431667a545a346 /board
parent3add68c9966e903a1a4b05acc54e4361ca81eae3 (diff)
lib: tpm: Add command to flush resources
This patch adds a function to the TPM library, which allows U-Boot to flush resources, e.g. keys, from the TPM. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/gdsys/p1022/controlcenterd-id.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/board/gdsys/p1022/controlcenterd-id.c b/board/gdsys/p1022/controlcenterd-id.c
index 2c6c698fb3a..1648f133405 100644
--- a/board/gdsys/p1022/controlcenterd-id.c
+++ b/board/gdsys/p1022/controlcenterd-id.c
@@ -43,15 +43,6 @@
#define CCDM_AUTO_FIRST_STAGE
#endif
-/* enums from TCG specs */
-enum {
- /* capability areas */
- TPM_CAP_NV_INDEX = 0x00000011,
- TPM_CAP_HANDLE = 0x00000014,
- /* resource types */
- TPM_RT_KEY = 0x00000001,
-};
-
/* CCDM specific contants */
enum {
/* NV indices */