summary refs log tree commit diff stats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-10-16 11:14:53 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-10-16 13:13:47 +0100
commitc209b0537203c58a051e5d837320335cea23e494 (patch)
treef6c199fc6c527547b062164b15c00da1cb45e529 /scripts/qapi-visit.py
parentb64d64de1a5b88de88146e3ad36e7b09b97837eb (diff)
downloadfocaccia-qemu-c209b0537203c58a051e5d837320335cea23e494.tar.gz
focaccia-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 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions