[Skiboot] [PATCH v2] tpm_i2c_nuvoton: check TPM vendor id register during probe

Oliver O'Halloran oohall at gmail.com
Mon Mar 30 17:36:23 AEDT 2020

On Sat, Mar 7, 2020 at 4:42 AM Eric Richter <erichte at linux.ibm.com> wrote:
> The driver for the nuvoton i2c TPM does not currently check if there is
> a functional TPM at the bus and address given by the device tree.
> This patch adds a simple check of the TPM vendor id register, compares
> against the known expected value for the chip, skips registering it if
> the chip is inaccessible or returns an unexpected id.
> Signed-off-by: Eric Richter <erichte at linux.ibm.com>

Thanks, merged as c2ba08e8ec3745d9c6a917a21d81d196160fd977

More information about the Skiboot mailing list