TianoCore EDK2 master
Loading...
Searching...
No Matches
TpmDetection.c File Reference

Go to the source code of this file.

Functions

UINT8 DetectTpmDevice (IN UINT8 SetupTpmDevice)
 

Detailed Description

TPM1.2/dTPM2.0 auto detection.

Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file TpmDetection.c.

Function Documentation

◆ DetectTpmDevice()

UINT8 DetectTpmDevice ( IN UINT8  SetupTpmDevice)

This routine check both SetupVariable and real TPM device, and return final TpmDevice configuration.

Parameters
SetupTpmDeviceTpmDevice configuration in setup driver
Returns
TpmDevice configuration

Definition at line 32 of file TpmDetection.c.