]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/Tpm.asi
ArmPkg/CompilerIntrinsicsLib: Add uread, uwrite GCC assembly sources
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / Tpm.asi
CommitLineData
b303605e
MK
1/** @file\r
2\r
3The Infineon SLB9645 TPM ACPI definition block.\r
4Provides TPM device info. and TPM presence check only.\r
5\r
6Copyright (c) 2013-2015 Intel Corporation.\r
7\r
0eb3de2e 8SPDX-License-Identifier: BSD-2-Clause-Patent\r
b303605e
MK
9\r
10**/\r
11\r
12Device (TPM)\r
13{\r
14 //\r
15 // Define _HID as Infineon TPM Device, _CID as "PNP0C31" (defined in\r
16 // "Secure Startup-FVE and TPM Admin BIOS and Platform Requirements").\r
17 //\r
18 Name(_HID ,EISAID("INT3493"))\r
19 Name(_CID, EISAID("PNP0C31"))\r
20\r
21 //\r
22 // Readable name of this device.\r
23 //\r
24 Name (_STR, Unicode ("Infineon TPM 1.2 Device (SLB9645TT1.2)"))\r
25\r
26 //\r
27 // Return the resource consumed by TPM device.\r
28 //\r
29 Name (_CRS, ResourceTemplate () {\r
30 I2cSerialBus (0x20, ControllerInitiated, 0x00061A80, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer,,)\r
31 })\r
32\r
33 //\r
34 // Check if TPM present.\r
35 //\r
36 Method (_STA, 0)\r
37 {\r
38 if (LEqual (TPMP, 0))\r
39 {\r
40 return (0)\r
41 }\r
42 Return (0x0f)\r
43 }\r
44\r
45}\r