]> git.baikalelectronics.ru Git - kernel.git/commit
tpm_crb: map locality registers
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 8 Feb 2017 11:11:35 +0000 (13:11 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 3 Apr 2017 19:46:01 +0000 (22:46 +0300)
commitafa172aac20f57a49363c7d3411d270ef7054db1
tree49990ccdd0bcdfc6a29d09470ed77408078fd93f
parentccc6f7fa4425a0ba6eb2af275282ffd1c1a75a71
tpm_crb: map locality registers

In order to provide access to locality registers, this commits adds
mapping of the head of the CRB registers, which are located right
before the control area.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Tested-by: Gang Wei <gang.wei@intel.com>
drivers/char/tpm/tpm_crb.c