diff options
author | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2010-05-04 17:49:20 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-05-04 19:59:57 -0400 |
commit | b89e66e1e396f7b5436af154e58209320cc08aed (patch) | |
tree | c966432f8e7bcc40f977546306b63beb0f8599fb /drivers/char/tpm/Kconfig | |
parent | fcaaade1db63bb2d6f7611d7824eb50d2f07a546 (diff) |
TPM: ACPI/PNP dependency removal
This patch pushes the ACPI dependency into the device driver code
itself. Now, even without ACPI/PNP enabled, the device can be registered
using the TIS specified memory space. This will however result in the
lack of access to the bios event log, being the only implication of such
ACPI removal.
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/char/tpm/Kconfig')
-rw-r--r-- | drivers/char/tpm/Kconfig | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig index f5fc64f89c5c..bfc2c26780fb 100644 --- a/drivers/char/tpm/Kconfig +++ b/drivers/char/tpm/Kconfig | |||
@@ -17,20 +17,28 @@ menuconfig TCG_TPM | |||
17 | obtained at: <http://sourceforge.net/projects/trousers>. To | 17 | obtained at: <http://sourceforge.net/projects/trousers>. To |
18 | compile this driver as a module, choose M here; the module | 18 | compile this driver as a module, choose M here; the module |
19 | will be called tpm. If unsure, say N. | 19 | will be called tpm. If unsure, say N. |
20 | Note: For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI | 20 | Note: For more TPM drivers and BIOS LOG access enable |
21 | and CONFIG_PNPACPI. | 21 | CONFIG_PNP, CONFIG_ACPI and CONFIG_PNPACPI. |
22 | 22 | ||
23 | if TCG_TPM | 23 | if TCG_TPM |
24 | 24 | ||
25 | config TCG_TIS | 25 | config TCG_TIS |
26 | tristate "TPM Interface Specification 1.2 Interface" | 26 | tristate "TPM Interface Specification 1.2 Interface" |
27 | depends on PNP | ||
28 | ---help--- | 27 | ---help--- |
29 | If you have a TPM security chip that is compliant with the | 28 | If you have a TPM security chip that is compliant with the |
30 | TCG TIS 1.2 TPM specification say Yes and it will be accessible | 29 | TCG TIS 1.2 TPM specification say Yes and it will be accessible |
31 | from within Linux. To compile this driver as a module, choose | 30 | from within Linux. To compile this driver as a module, choose |
32 | M here; the module will be called tpm_tis. | 31 | M here; the module will be called tpm_tis. |
33 | 32 | ||
33 | config TCG_BIOS_LOG | ||
34 | bool "TPM bios mesurement log" | ||
35 | depends on X86 | ||
36 | select ACPI | ||
37 | ---help--- | ||
38 | ACPI is required for access to bios measurements lists and therefore | ||
39 | to validate the PCR[0] value. So say Yes in case you want this | ||
40 | feature and, consequently, ACPI will be enabled. | ||
41 | |||
34 | config TCG_NSC | 42 | config TCG_NSC |
35 | tristate "National Semiconductor TPM Interface" | 43 | tristate "National Semiconductor TPM Interface" |
36 | ---help--- | 44 | ---help--- |