diff options
| author | Peter Crosthwaite | 2015-10-16 12:14:53 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-10-16 14:13:47 +0200 |
| commit | c209b0537203c58a051e5d837320335cea23e494 (patch) | |
| tree | f6c199fc6c527547b062164b15c00da1cb45e529 /include/exec | |
| parent | arm: imx25-pdk: Fix machine name (diff) | |
| download | qemu-c209b0537203c58a051e5d837320335cea23e494.tar.gz qemu-c209b0537203c58a051e5d837320335cea23e494.tar.xz qemu-c209b0537203c58a051e5d837320335cea23e494.zip | |
misc: zynq_slcr: Fix MMIO writes
The /4 for offset calculation in MMIO writes was happening twice giving
wrong write offsets. Fix.
While touching the code, change the if-else to be a short returning if
and convert the debug message to a GUEST_ERROR, which is more accurate
for this condition.
Cc: qemu-stable@nongnu.org
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
