diff options
author | Nayna Jain <nayna@linux.vnet.ibm.com> | 2017-01-23 02:26:26 -0500 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-02-03 22:03:14 +0200 |
commit | e46e22f12b19f0068b02afcf6edb716b4f49934f (patch) | |
tree | e56538bada035a1d05b6ca606f3ea07184b314b8 /drivers/net/Makefile | |
parent | c1f92b4b04ad7006bdcbd1d5bb63f2864b06b7f8 (diff) |
tpm: enhance read_log_of() to support Physical TPM event log
Physical TPMs use Open Firmware Device Tree bindings that are similar
to the IBM Power virtual TPM to support event log. However, these
properties store the values in different endianness for Physical
and Virtual TPM.
This patch fixes the endianness issue by doing appropriate conversion
based on Physical or Virtual TPM.
Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Kenneth Goldman <kgold@linux.vnet.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/net/Makefile')
0 files changed, 0 insertions, 0 deletions