1. 23 10月, 2013 1 次提交
    • J
      tpm: Merge the tpm-bios module with tpm.o · 187eea0c
      Jason Gunthorpe 提交于
      Now that we can have multiple .c files in the tpm module there is
      no reason for tpm-bios.
      
      tpm-bios exported several functions: tpm_bios_log_setup,
      tpm_bios_log_teardown, tpm_add_ppi, and tpm_remove_ppi.
      
      They are only used by tpm, and if tpm-bios is built then
      tpm will unconditionally require them. Further, tpm-bios does
      nothing on its own, it has no module_init function.
      
      Thus we remove the exports and merge the modules to simplify things.
      
      The Makefile conditions are changed slightly to match the code,
      tpm_ppi is always required if CONFIG_ACPI is set.
      Signed-off-by: NJason Gunthorpe <jgunthorpe@obsidianresearch.com>
      187eea0c
  2. 13 4月, 2013 1 次提交
  3. 10 10月, 2012 1 次提交
  4. 05 9月, 2012 1 次提交
  5. 23 8月, 2012 1 次提交
    • X
      driver: add PPI support in tpm driver · f84fdff0
      Xiaoyan Zhang 提交于
      The Physical Presence Interface enables the OS and the BIOS to cooperate and
      provides a simple and straightforward platform user experience for
      administering the TPM without sacrificing security.
      
      V2: separate the patch out in a separate source file,
          add #ifdef CONFIG_ACPI so it compiles out on ppc,
          use standard error instead of ACPI error as return code of show/store fns.
      V3: move #ifdef CONFIG_ACPI from .c file to .h file.
      V4: move tpm_ppi code from tpm module to tpm_bios module.
      V5: modify sys_add_ppi() so that ppi_attr_grp doesn't need to be exported
      Signed-off-by: NXiaoyan Zhang <xiaoyan.zhang@intel.com>
      Signed-off-by: NKent Yoder <key@linux.vnet.ibm.com>
      f84fdff0