zynq_slcr: Fixed ResetValues enum
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Fri, 12 Oct 2012 10:54:39 +0000 (11:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Oct 2012 10:54:39 +0000 (11:54 +0100)
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 <peter.crosthwaite@petalogix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/zynq_slcr.c

index 4f97575770a0991c4adfcb99ad700cdb93abb4ee..8acba01c3ab0c2afdd4b6b8f9c9ecc600e563d36 100644 (file)
@@ -91,7 +91,7 @@ typedef enum {
 typedef enum {
   PSS,
   DDDR,
-  DMAC,
+  DMAC = 3,
   USB,
   GEM,
   SDIO,