qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 3/4] zynq_slcr: Fixed ResetValues enum


From: Peter Crosthwaite
Subject: [Qemu-devel] [PATCH v2 3/4] zynq_slcr: Fixed ResetValues enum
Date: Thu, 4 Oct 2012 10:16:13 +1000

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>
---

 hw/zynq_slcr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/zynq_slcr.c b/hw/zynq_slcr.c
index 468fb0e..6eafad5 100644
--- a/hw/zynq_slcr.c
+++ b/hw/zynq_slcr.c
@@ -93,7 +93,7 @@ typedef enum {
 typedef enum {
   PSS,
   DDDR,
-  DMAC,
+  DMAC = 3,
   USB,
   GEM,
   SDIO,
-- 
1.7.0.4




reply via email to

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