qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 8/9] zynq_slcr: Fixed ResetValues enum


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 8/9] zynq_slcr: Fixed ResetValues enum
Date: Fri, 12 Oct 2012 12:38:31 +0100

From: "Peter A. G. Crosthwaite" <address@hidden>

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 <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
---
 hw/zynq_slcr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/zynq_slcr.c b/hw/zynq_slcr.c
index 4f97575..8acba01 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,
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]