armsse: Wire up systick cpuclk clock
commit712bd17f3e6c5b33ad1e33661350164c9f8468bf
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Aug 2021 09:33:38 +0000 (12 10:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:19 +0000 (1 11:08 +0100)
tree36172f5bfb64ea18b91774a03fbbdc1043e9e911
parentd5093d961585f02126191951ded9b90dbc52883b
armsse: Wire up systick cpuclk clock

Wire up the cpuclk for the systick devices to the SSE object's
existing mainclk clock.

We do not wire up the refclk because the SSE subsystems do not
provide a refclk.  (This is documented in the IoTKit and SSE-200
TRMs; the SSE-300 TRM doesn't mention it but we assume it follows the
same approach.) When we update the systick device later to honour "no
refclk connected" this will fix a minor emulation inaccuracy for the
SSE-based boards.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Message-id: 20210812093356.1946-8-peter.maydell@linaro.org
hw/arm/armsse.c