tpm: CRB: set registers to 0 by default
commite1880ed80a4718ae0df49d115b6079183a01a716
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 20 Mar 2018 16:31:45 +0000 (20 12:31 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 21 Mar 2018 12:00:50 +0000 (21 08:00 -0400)
tree88c30a07440c05582beb5b3c6103969655c25e9e
parentbe052a3b3d3d8cfbe2d5bc588106b3403f4206af
tpm: CRB: set registers to 0 by default

Initialize all registers of the CRB device to 0. This clears a few
flags upon a reset.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/tpm/tpm_crb.c