[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] hw/arm/virt: Remove the compat forcing tpm-tis-device PP
From: |
Cornelia Huck |
Subject: |
Re: [PATCH 2/2] hw/arm/virt: Remove the compat forcing tpm-tis-device PPI to off |
Date: |
Tue, 28 Apr 2020 12:36:39 +0200 |
On Mon, 27 Apr 2020 16:31:45 +0200
Eric Auger <address@hidden> wrote:
> Now that the tpm-tis-device device PPI property is off by default,
> we can remove the compat used for the same goal.
>
> Signed-off-by: Eric Auger <address@hidden>
> ---
> hw/arm/virt.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index 7dc96abf72..2a68306f28 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -2311,11 +2311,6 @@ type_init(machvirt_machine_init);
>
> static void virt_machine_5_0_options(MachineClass *mc)
> {
> - static GlobalProperty compat[] = {
> - { TYPE_TPM_TIS_SYSBUS, "ppi", "false" },
> - };
> -
> - compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
> }
> DEFINE_VIRT_MACHINE_AS_LATEST(5, 0)
>
Reviewed-by: Cornelia Huck <address@hidden>