aboutsummaryrefslogtreecommitdiff
path: root/hw/zynq_slcr.c
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2012-10-12 11:54:39 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-10-12 11:54:39 +0100
commitfa2ddcb4f5f33c07c68cec67615c88a98fab02de (patch)
tree02654a501867d4b3e7cbef4f911dda9510869e81 /hw/zynq_slcr.c
parent853e65e0b45403477c8a89afdb4c0abd4c3f97da (diff)
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 <peter.crosthwaite@petalogix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/zynq_slcr.c')
-rw-r--r--hw/zynq_slcr.c2
1 files changed, 1 insertions, 1 deletions
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,