
18 Oct
2016
18 Oct
'16
12:17 a.m.
On 17 October 2016 at 08:24, George McCollister george.mccollister@gmail.com wrote:
The Atmel AT97SC3204 is also TIS compliant. Modify the tpm_tis_lpc driver to check for the vid/did used by the Atmel AT97SC3204 and report an appropriate description.
Signed-off-by: George McCollister george.mccollister@gmail.com
Changes in v2:
- Reorganized didvid check to make it more consistent with the original code
- Return -ENODEV instead of -ENOENT when didvid doesn't match the expected value for the device
drivers/tpm/tpm_tis_lpc.c | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org