hw/arm_sysctl: Implement SYS_CFG_OSC function
commit1f81f94bebc2f8c4b32a89910d071099a67dc44d
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 16:41:57 +0000 (15 16:41 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 16:41:57 +0000 (15 16:41 +0000)
tree2fa99ce6f6a1f427d32d930de0c7a75116661436
parent31410948bc1c8001098b076caf35aab8a5cf063d
hw/arm_sysctl: Implement SYS_CFG_OSC function

Implement the SYS_CFG_OSC function. Since the idea of
programmable clock rates doesn't make much sense for QEMU,
we simply allow the clock rate to be read back as written.
The number and value of the daughterboard oscillators varies
between daughterboards, so we provide an array property to
allow their reset values to be configured.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm_sysctl.c