-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fw-util: Let platforms choose to specify if they contain a TPM
Summary: Not every platform has a BMC with an attached TPM. Make this a platform specific configuration. Refactor to move the registration to platform layer. Test Plan: Build fbtp, fby2 and fbttn which actually have a TPM. Reviewed By: williamspatrick fbshipit-source-id: 8bd4d2592e
- Loading branch information
1 parent
91b59e1
commit 2e61cd4
Showing
3 changed files
with
27 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef _TPM_H_ | ||
#define _TPM_H_ | ||
#include <string> | ||
#include "fw-util.h" | ||
|
||
class TpmComponent : public Component { | ||
public: | ||
TpmComponent(std::string fru, std::string comp) | ||
: Component(fru, comp) {} | ||
int print_version(); | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters