mirror of https://gitee.com/openkylin/qemu.git
tpm: CRB: set the Idle flag by default
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
043289bef4
commit
3a3c873502
|
@ -220,6 +220,8 @@ static void tpm_crb_reset(void *dev)
|
|||
|
||||
ARRAY_FIELD_DP32(s->regs, CRB_LOC_STATE,
|
||||
tpmRegValidSts, 1);
|
||||
ARRAY_FIELD_DP32(s->regs, CRB_CTRL_STS,
|
||||
tpmIdle, 1);
|
||||
ARRAY_FIELD_DP32(s->regs, CRB_INTF_ID,
|
||||
InterfaceType, CRB_INTF_TYPE_CRB_ACTIVE);
|
||||
ARRAY_FIELD_DP32(s->regs, CRB_INTF_ID,
|
||||
|
|
Loading…
Reference in New Issue