]> git.proxmox.com Git - qemu.git/commit
hw/arm_sysctl: Implement SYS_CFG_VOLT
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 16:41:57 +0000 (16:41 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 16:41:57 +0000 (16:41 +0000)
commit8bd4824a6122292060a318741595927e0d05ff5e
tree60f16db19b22384433e354a8e2d39c7e4076998e
parent0be6bfac6262900425c10847de513ee2490078d3
hw/arm_sysctl: Implement SYS_CFG_VOLT

Implement the SYS_CFG_VOLT registers which return the voltage
of various supplies on motherboard and daughterboard. Since
QEMU implements a perfectly stable power supply these registers
always return a constant value. The number and value of the
daughterboard voltages is dependent on the specific daughterboard,
so we use a property array to allow the board to configure them
appropriately.

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