diff options
author | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-12-21 14:31:47 +0800 |
---|---|---|
committer | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-12-29 09:45:13 +0800 |
commit | 73126ac2bd9804632255b2fddd4d7633537c9620 (patch) | |
tree | 4c1d3c272aeb17e73d2c027c2ae67cd785b21af7 /SecurityPkg/Library/Tpm2CommandLib | |
parent | d9bb3ca3c2a1bd3f7b78adf27e82e5605f665e16 (diff) | |
download | edk2-73126ac2bd9804632255b2fddd4d7633537c9620.tar.gz edk2-73126ac2bd9804632255b2fddd4d7633537c9620.tar.bz2 edk2-73126ac2bd9804632255b2fddd4d7633537c9620.zip |
SecurityPkg: Tcg2Smm: TPM2 Vendor specific HID
Update TPM2 HID using vendor ManufacturerID & FirmwareVersion1.
Cc: Yao Jiewen <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'SecurityPkg/Library/Tpm2CommandLib')
-rw-r--r-- | SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c index 9aab17f934..79e80fb7a9 100644 --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c @@ -1,7 +1,7 @@ /** @file
Implement TPM2 Capability related command.
-Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>
+Copyright (c) 2013 - 2016, 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
@@ -189,7 +189,7 @@ Tpm2GetCapabilityManufactureID ( if (EFI_ERROR (Status)) {
return Status;
}
- *ManufactureId = SwapBytes32 (TpmCap.data.tpmProperties.tpmProperty->value);
+ *ManufactureId = TpmCap.data.tpmProperties.tpmProperty->value;
return EFI_SUCCESS;
}
|