drivers/pc80/tpm: add support for SLB9665 TPM2.0 module
SLB9665 are not initialized correctly. It looks like SLB9665 and SLB9660 return the same DEV ID. Initialize these devices according to TPM Kconfig selections. Tested on apu2 with following change: https://review.coreboot.org/#/c/coreboot/+/28000/ Change-Id: Ic20b9a65ef6a4ee392a9352f7c9bf01b2496f482 Signed-off-by: Kamil Wcislo <kamil.wcislo@3mdeb.com> Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-on: https://review.coreboot.org/21983 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
parent
545ed7ab3b
commit
bf5ccfd05f
|
@ -125,10 +125,11 @@ static const struct device_name atmel_devices[] = {
|
|||
|
||||
static const struct device_name infineon_devices[] = {
|
||||
{0x000b, "SLB9635 TT 1.2"},
|
||||
{0x001a, "SLB9660 TT 1.2"},
|
||||
#if IS_ENABLED(CONFIG_TPM2)
|
||||
{0x001a, "SLB9665 TT 2.0"},
|
||||
{0x001b, "SLB9670 TT 2.0"},
|
||||
#else
|
||||
{0x001a, "SLB9660 TT 1.2"},
|
||||
{0x001b, "SLB9670 TT 1.2"},
|
||||
#endif
|
||||
{0xffff}
|
||||
|
|
Loading…
Reference in New Issue