]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: tpm: atmel_twi: implement get_desc operation
authorMathew McBride <matt@traverse.com.au>
Thu, 11 Nov 2021 04:06:30 +0000 (04:06 +0000)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 17 Nov 2021 11:47:33 +0000 (13:47 +0200)
commitec79263d41bf9e61df5aee99bb1e42efc71aa58f
treee917374669ec37d636db5d8c54deb39b1ef47056
parenteed3f49667232ae8bd8fb2356d09afaf4a4f352d
drivers: tpm: atmel_twi: implement get_desc operation

Without get_desc, the tpm command will not provide a
description of the device in 'tpm device' or 'tpm info'.

Due to the characteristics of the Atmel TPM it isn't
possible to determine certain attributes (e.g open/close
status) without using the TPM stack (compare Infineon
and ST TPM drivers), so just print out the chip model
and udevice name as the identifier.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/tpm_atmel_twi.c