Received: from eggs.gnu.org ([208.118.235.92]:33224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMdZq-0000Rb-0Y for qemu-devel@nongnu.org; Fri, 12 Oct 2012 07:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMdZl-00081Z-Ix for qemu-devel@nongnu.org; Fri, 12 Oct 2012 07:38:49 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:57335 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMdZl-00080H-CP for qemu-devel@nongnu.org; Fri, 12 Oct 2012 07:38:45 -0400 From: Peter Maydell Date: Fri, 12 Oct 2012 12:38:31 +0100 Message-Id: <1350041912-12595-9-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1350041912-12595-1-git-send-email-peter.maydell@linaro.org> References: <1350041912-12595-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 8/9] zynq_slcr: Fixed ResetValues enum List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Paul Brook From: "Peter A. G. Crosthwaite" 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 --- 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