[3/3] seabios: Add DSDT entry for an emulated TPM 1.2 device

Submitted by Andreas Niederl on Aug. 25, 2010, 4:33 p.m.

Details

Message ID 1282753982-1761-3-git-send-email-andreas.niederl@iaik.tugraz.at
State New
Headers show

Commit Message

Andreas Niederl Aug. 25, 2010, 4:33 p.m.
Signed-off-by: Andreas Niederl <andreas.niederl@iaik.tugraz.at>
---
 src/acpi-dsdt.dsl |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index cc31112..38ccde9 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -428,6 +428,28 @@  DefinitionBlock (
 		DRSJ, 32
 	    }
 	}
+
+        /* Pass-through TPM device with emulated TPM TIS interface */
+        Device (TPM) {
+            Name (_HID, EisaID ("ATM1200"))
+            Name (_STR, Unicode ("Emulated TPM TIS pass-through device"))
+            Name (BUF1, ResourceTemplate ()
+            {
+                    Memory32Fixed (ReadOnly,
+                                   0xFED40000,         // Address Base
+                                   0x00005000,         // Address Length
+                                  )
+            })
+            Method (_CRS, 0, Serialized)
+            {
+                Return (BUF1)
+            }
+            Method (_STA, 0)
+            {
+                Return (0x0F)
+            }
+        }
+
     }
 
     /* PCI IRQs */