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)
commit13b1f4a571cc1ffe9c7d5bb894318cabdd81fcc2
tree49990ccdd0bcdfc6a29d09470ed77408078fd93f
parent5cc0101d1f88500f8901d01b035af743215d4c3a
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