arm: Move system_clock_scale to armv7m_systick.h
commit807420f0b0a71cc7cf38abe06321b5777091e47d
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 23 May 2019 13:47:43 +0000 (23 14:47 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 May 2019 13:47:43 +0000 (23 14:47 +0100)
tree9e16c144647ce73aa3197864d8a350dd19537027
parent2f143d3ad1c05e91cf2cdf5de06d59a80a95e6c8
arm: Move system_clock_scale to armv7m_systick.h

The system_clock_scale global is used only by the armv7m systick
device; move the extern declaration to the armv7m_systick.h header,
and expand the comment to explain what it is and that it should
ideally be replaced with a different approach.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190516163857.6430-2-peter.maydell@linaro.org
include/hw/arm/arm.h
include/hw/timer/armv7m_systick.h