diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-11-10 07:45:33 -0500 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-12-22 09:01:09 -0500 |
commit | f999d81bc7d9ff3dd2b699d0091824e6b9071d83 (patch) | |
tree | 79b8b2cb060a683405110daa24741ee453643600 /hw/tpm/tpm_util.c | |
parent | e6b30c71f4b56784638eed475e7bdd6dc8c7764e (diff) |
tpm_tis: merge r/w_offset into rw_offset
We can now merge the r_offset and w_offset into a single rw_offset.
This is possible since when the offset is used for writing in
RECEPTION state then reads are ignore. Conversely, when the offset
is used for reading when in COMPLETION state, then writes are
ignored.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'hw/tpm/tpm_util.c')
0 files changed, 0 insertions, 0 deletions