Hi Stefan,
On 3/27/23 1:26 PM, Stefan Berger wrote:
On 3/27/23 14:12, Ninad Palsule wrote:
diff --git a/hw/tpm/tpm_tis_i2c.c b/hw/tpm/tpm_tis_i2c.c
new file mode 100644
index 00..551b89dac8
--- /dev/null
+++ b/hw/tpm/tpm_tis_i2c.c
@@ -0,0 +1,527 @@
+/*
+ * Aspeed i2c bus interface
On 3/27/23 14:12, Ninad Palsule wrote:
diff --git a/hw/tpm/tpm_tis_i2c.c b/hw/tpm/tpm_tis_i2c.c
new file mode 100644
index 00..551b89dac8
--- /dev/null
+++ b/hw/tpm/tpm_tis_i2c.c
@@ -0,0 +1,527 @@
+/*
+ * Aspeed i2c bus interface for reading from and writing to i2c device
registers
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