mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,8 @@ static void tpm_crb_reset(void *dev)
|
||||||
|
|
||||||
ARRAY_FIELD_DP32(s->regs, CRB_LOC_STATE,
|
ARRAY_FIELD_DP32(s->regs, CRB_LOC_STATE,
|
||||||
tpmRegValidSts, 1);
|
tpmRegValidSts, 1);
|
||||||
|
ARRAY_FIELD_DP32(s->regs, CRB_CTRL_STS,
|
||||||
|
tpmIdle, 1);
|
||||||
ARRAY_FIELD_DP32(s->regs, CRB_INTF_ID,
|
ARRAY_FIELD_DP32(s->regs, CRB_INTF_ID,
|
||||||
InterfaceType, CRB_INTF_TYPE_CRB_ACTIVE);
|
InterfaceType, CRB_INTF_TYPE_CRB_ACTIVE);
|
||||||
ARRAY_FIELD_DP32(s->regs, CRB_INTF_ID,
|
ARRAY_FIELD_DP32(s->regs, CRB_INTF_ID,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue