diff options
author | James Morris <jmorris@namei.org> | 2010-05-06 19:19:29 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-05-06 19:19:29 -0400 |
commit | ec4a162af388a2716c5314c4aff7029071d09f57 (patch) | |
tree | 10b5c972f756620c8bba693a4363029c42d37ef3 /drivers/char/tpm/Kconfig | |
parent | f70e2e06196ad4c1c762037da2f75354f6c16b81 (diff) |
Revert "TPM: ACPI/PNP dependency removal"
This reverts commit b89e66e1e396f7b5436af154e58209320cc08aed.
> > When CONFIG_PM is not set:
> >
> > drivers/built-in.o: In function `acpi_init':
> > bus.c:(.init.text+0x2d84): undefined reference to `pm_flags'
> > bus.c:(.init.text+0x2d91): undefined reference to `pm_flags'
>
> CONFIG_ACPI depends on CONFIG_PM,
> so acpi/bus.c should not be compiled for CONFIG_PM=n
>
> Hmm, is is somebody doing something strange, like "select ACPI"
> without guaranteeing that all of ACPI's dependencies are satisfied?
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, 3 insertions, 11 deletions
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig index bfc2c26780fb..f5fc64f89c5c 100644 --- a/drivers/char/tpm/Kconfig +++ b/drivers/char/tpm/Kconfig | |||
@@ -17,28 +17,20 @@ 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 and BIOS LOG access enable | 20 | Note: For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI |
21 | CONFIG_PNP, CONFIG_ACPI and CONFIG_PNPACPI. | 21 | 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 | ||
27 | ---help--- | 28 | ---help--- |
28 | If you have a TPM security chip that is compliant with the | 29 | If you have a TPM security chip that is compliant with the |
29 | TCG TIS 1.2 TPM specification say Yes and it will be accessible | 30 | TCG TIS 1.2 TPM specification say Yes and it will be accessible |
30 | from within Linux. To compile this driver as a module, choose | 31 | from within Linux. To compile this driver as a module, choose |
31 | M here; the module will be called tpm_tis. | 32 | M here; the module will be called tpm_tis. |
32 | 33 | ||
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 | |||
42 | config TCG_NSC | 34 | config TCG_NSC |
43 | tristate "National Semiconductor TPM Interface" | 35 | tristate "National Semiconductor TPM Interface" |
44 | ---help--- | 36 | ---help--- |