On 3/27/23 20:33, Ninad Palsule wrote:
Qemu already supports devices attached to ISA and sysbus. This drop adds
support for the I2C bus attached TPM devices. I2C model only supports
TPM2 protocol.
This commit includes changes for the common code.
- Added I2C emulation model. Logic was added in
On 3/27/23 14:33, Ninad Palsule wrote:
+i2cst->csum_enable = TPM_DATA_CSUM_ENABLED;
I'll take it from here but will squash in this change so that csum can be
turned off:
i2cst->csum_enable = i2cst->data[1] & TPM_DATA_CSUM_ENABLED;
Reviewed-by: Stefan Berger
Tested-by:
Qemu already supports devices attached to ISA and sysbus. This drop adds
support for the I2C bus attached TPM devices. I2C model only supports
TPM2 protocol.
This commit includes changes for the common code.
- Added I2C emulation model. Logic was added in the model to temporarily
cache the data