ast2600: Configure CNTFRQ at 1125MHz
This matches the configuration set by u-boot on the AST2600. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 080ca1267a09381c43cf3c50d434fb6c186f2b6e.1576215453.git-series.andrew@aj.id.au Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
96eec6b2b3
commit
058d095532
@ -250,6 +250,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user