hw/arm/msf2: Use Clock input to MSF2_SOC instead of m3clk property
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Aug 2021 09:33:50 +0000 (10:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:20 +0000 (11:08 +0100)
commit9bfaf3754b71b72296f24f73876da67cf43c3e10
tree8be02d071292144d436ed6fb22ea46ac7e070ae2
parenta4b1e9d3f863a8dfbf28f5469dcc95a07c9ac105
hw/arm/msf2: Use Clock input to MSF2_SOC instead of m3clk property

Instead of passing the MSF2 SoC an integer property specifying the
CPU clock rate, pass it a Clock instead.  This lets us wire that
clock up to the armv7m object.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alexandre Iooss <erdnaxe@crans.org>
Message-id: 20210812093356.1946-20-peter.maydell@linaro.org
hw/arm/msf2-soc.c
hw/arm/msf2-som.c
include/hw/arm/msf2-soc.h