qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] ast2600: Configure CNTFRQ at 1125MHz


From: Cédric Le Goater
Subject: Re: [PATCH 4/4] ast2600: Configure CNTFRQ at 1125MHz
Date: Thu, 28 Nov 2019 09:47:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 28/11/2019 06:45, Andrew Jeffery wrote:
> This matches the configuration set by u-boot on the AST2600.
> 
> Signed-off-by: Andrew Jeffery <address@hidden>

Reviewed-by: Cédric Le Goater <address@hidden>

> ---
>  hw/arm/aspeed_ast2600.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c
> index 931887ac681f..5aecc3b3caec 100644
> --- a/hw/arm/aspeed_ast2600.c
> +++ b/hw/arm/aspeed_ast2600.c
> @@ -259,6 +259,9 @@ static void aspeed_soc_ast2600_realize(DeviceState *dev, 
> Error **errp)
>          object_property_set_int(OBJECT(&s->cpu[i]), aspeed_calc_affinity(i),
>                                  "mp-affinity", &error_abort);
>  
> +        object_property_set_int(OBJECT(&s->cpu[i]), 1125000000, "cntfrq",
> +                                &error_abort);
> +
>          /*
>           * TODO: the secondary CPUs are started and a boot helper
>           * is needed when using -kernel
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]