OSDN Git Service

hw/arm/mps2.c: Connect up armv7m clocks
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Aug 2021 09:33:39 +0000 (10:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:19 +0000 (11:08 +0100)
commita860df4f540d438a9531c70ff4eb0995841e7202
tree7c7a0a67d0c7bf593d54fd551bcf9a26a51bd27c
parent712bd17f3e6c5b33ad1e33661350164c9f8468bf
hw/arm/mps2.c: Connect up armv7m clocks

Connect up the armv7m clocks on the mps2-an385/386/500/511.

Connect up the armv7m object's clocks on the MPS boards defined in
mps2.c.  The documentation for these FPGA images doesn't specify what
systick reference clock is used (if any), so for the moment we
provide a 1MHz refclock, which will result in no behavioural change
from the current hardwired 1MHz clock implemented in
armv7m_systick.c:systick_scale().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Message-id: 20210812093356.1946-9-peter.maydell@linaro.org
hw/arm/mps2.c