summaryrefslogtreecommitdiff
path: root/drivers/tpm
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2017-01-11 16:00:50 +0100
committerStefan Roese <sr@denx.de>2017-02-01 09:02:57 +0100
commit7690be35deaeac1cb51a5f7896c2a46afabdfad3 (patch)
treedb7c33f5f0e6bc909f80159fa1431667a545a346 /drivers/tpm
parent3add68c9966e903a1a4b05acc54e4361ca81eae3 (diff)
downloadu-boot-imx-7690be35deaeac1cb51a5f7896c2a46afabdfad3.zip
u-boot-imx-7690be35deaeac1cb51a5f7896c2a46afabdfad3.tar.gz
u-boot-imx-7690be35deaeac1cb51a5f7896c2a46afabdfad3.tar.bz2
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 'drivers/tpm')
-rw-r--r--drivers/tpm/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig
index 7ab34ce..3490ee0 100644
--- a/drivers/tpm/Kconfig
+++ b/drivers/tpm/Kconfig
@@ -82,4 +82,10 @@ config TPM_ST33ZP24_SPI
to the device using the standard TPM Interface Specification (TIS)
protocol
+config TPM_FLUSH_RESOURCES
+ bool "Enable TPM resource flushing support"
+ depends on TPM
+ help
+ Enable support to flush specific resources (e.g. keys) from the TPM.
+ The functionality is available via the 'tpm' command as well.
endmenu