From: Peter A. G. Crosthwaite Date: Fri, 12 Oct 2012 10:54:39 +0000 (+0100) Subject: zynq_slcr: Fixed ResetValues enum X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fa2ddcb4f5f33c07c68cec67615c88a98fab02de;p=qemu.git zynq_slcr: Fixed ResetValues enum There is a gap in the reset region of the address space at offset 0x208. This throws out all these enum values by one when translating them to address offsets. Fixed by putting the corresponding gap in the enum as well. Signed-off-by: Peter A. G. Crosthwaite Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/zynq_slcr.c b/hw/zynq_slcr.c index 4f97575770..8acba01c3a 100644 --- a/hw/zynq_slcr.c +++ b/hw/zynq_slcr.c @@ -91,7 +91,7 @@ typedef enum { typedef enum { PSS, DDDR, - DMAC, + DMAC = 3, USB, GEM, SDIO,