diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2013-03-15 16:41:56 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2013-03-15 16:41:56 +0000 |
| commit | 71538323358d77f6472d66a30e948a1c23bd9e87 (patch) | |
| tree | 609e63c4ecf51acefcd10a659233aeb34c9f2d88 /hw/qdev-properties.c | |
| parent | cdef10bb9373c2c22c517a4deef2363c7ebd5d48 (diff) | |
| download | focaccia-qemu-71538323358d77f6472d66a30e948a1c23bd9e87.tar.gz focaccia-qemu-71538323358d77f6472d66a30e948a1c23bd9e87.zip | |
hw/arm_sysctl: Handle SYS_CFGCTRL in a more structured way
The SYS_CFGCTRL register consists of separate fields for DCC, function, site, position and device, as well as a read/write bit. Refactor the code handling SYS_CFGCTRL writes to make it easier to add support for functions like SYS_CFG_OSC which support multiple device fields. We also pull the handling out into its own function for clarity, as there are potentially a lot of implementable subfunctions. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions