Discussion:
[edk2] [PATCH] SecurityPkg: Change TPM MMIO range attribute
Zhang, Chao B
2015-07-28 02:08:02 UTC
Permalink
For TCG spec compliance, Change TPM MMIO range attribute

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <***@intel.com>
---
SecurityPkg/Tcg/TcgSmm/Tpm.asl | 4 ++--
SecurityPkg/Tcg/TrEESmm/Tpm.asl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/SecurityPkg/Tcg/TcgSmm/Tpm.asl b/SecurityPkg/Tcg/TcgSmm/Tpm.asl
index 448ffec..087ff9f 100644
--- a/SecurityPkg/Tcg/TcgSmm/Tpm.asl
+++ b/SecurityPkg/Tcg/TcgSmm/Tpm.asl
@@ -2,7 +2,7 @@
The TPM definition block in ACPI table for physical presence
and MemoryClear.

-Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -41,7 +41,7 @@ DefinitionBlock (
// Return the resource consumed by TPM device
//
Name (_CRS, ResourceTemplate () {
- Memory32Fixed (ReadOnly, 0xfed40000, 0x5000)
+ Memory32Fixed (ReadWrite, 0xfed40000, 0x5000)
})

//
diff --git a/SecurityPkg/Tcg/TrEESmm/Tpm.asl b/SecurityPkg/Tcg/TrEESmm/Tpm.asl
index 8f300fa..0f6b94a 100644
--- a/SecurityPkg/Tcg/TrEESmm/Tpm.asl
+++ b/SecurityPkg/Tcg/TrEESmm/Tpm.asl
@@ -2,7 +2,7 @@
The TPM2 definition block in ACPI table for TrEE physical presence
and MemoryClear.

-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -40,7 +40,7 @@ DefinitionBlock (
// Return the resource consumed by TPM device
//
Name (_CRS, ResourceTemplate () {
- Memory32Fixed (ReadOnly, 0xfed40000, 0x5000)
+ Memory32Fixed (ReadWrite, 0xfed40000, 0x5000)
})

//
--
1.9.5.msysgit.1


------------------------------------------------------------------------------
Long, Qin
2015-07-28 02:32:13 UTC
Permalink
-----Original Message-----
From: Zhang, Chao B
Sent: Tuesday, July 28, 2015 10:08 AM
Cc: Long, Qin; Zhang, Chao B
Subject: [PATCH] SecurityPkg: Change TPM MMIO range attribute
For TCG spec compliance, Change TPM MMIO range attribute
Contributed-under: TianoCore Contribution Agreement 1.0
---
SecurityPkg/Tcg/TcgSmm/Tpm.asl | 4 ++--
SecurityPkg/Tcg/TrEESmm/Tpm.asl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/SecurityPkg/Tcg/TcgSmm/Tpm.asl
b/SecurityPkg/Tcg/TcgSmm/Tpm.asl index 448ffec..087ff9f 100644
--- a/SecurityPkg/Tcg/TcgSmm/Tpm.asl
+++ b/SecurityPkg/Tcg/TcgSmm/Tpm.asl
@@ -2,7 +2,7 @@
The TPM definition block in ACPI table for physical presence
and MemoryClear.
-Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made
available under the terms and conditions of the BSD License which
accompanies this distribution. The full text of the license may be found at
@@ -41,7 +41,7 @@ DefinitionBlock (
// Return the resource consumed by TPM device
//
Name (_CRS, ResourceTemplate () {
- Memory32Fixed (ReadOnly, 0xfed40000, 0x5000)
+ Memory32Fixed (ReadWrite, 0xfed40000, 0x5000)
})
//
diff --git a/SecurityPkg/Tcg/TrEESmm/Tpm.asl
b/SecurityPkg/Tcg/TrEESmm/Tpm.asl index 8f300fa..0f6b94a 100644
--- a/SecurityPkg/Tcg/TrEESmm/Tpm.asl
+++ b/SecurityPkg/Tcg/TrEESmm/Tpm.asl
@@ -2,7 +2,7 @@
The TPM2 definition block in ACPI table for TrEE physical presence
and MemoryClear.
-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made
available under the terms and conditions of the BSD License which
accompanies this distribution. The full text of the license may be found at
@@ -40,7 +40,7 @@ DefinitionBlock (
// Return the resource consumed by TPM device
//
Name (_CRS, ResourceTemplate () {
- Memory32Fixed (ReadOnly, 0xfed40000, 0x5000)
+ Memory32Fixed (ReadWrite, 0xfed40000, 0x5000)
})
//
--
1.9.5.msysgit.1
------------------------------------------------------------------------------
Loading...