diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2019-12-20 14:03:00 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-12-20 14:03:00 +0000 |
commit | 058d095532dbd50aa3a2b5ef907b76c08f7d6de7 (patch) | |
tree | b1c3e30853bf2867e0343e38ce428eaea34fa01a /hw/arm | |
parent | 96eec6b2b389215f43d7f07e823cb196f9185052 (diff) | |
download | qemu-058d095532dbd50aa3a2b5ef907b76c08f7d6de7.zip qemu-058d095532dbd50aa3a2b5ef907b76c08f7d6de7.tar.gz qemu-058d095532dbd50aa3a2b5ef907b76c08f7d6de7.tar.bz2 |
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>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/aspeed_ast2600.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c index be88005..89e4b00 100644 --- a/hw/arm/aspeed_ast2600.c +++ b/hw/arm/aspeed_ast2600.c @@ -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 |