]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Extend I/O resource for wdt0 for at32ap7000 devices
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>
Tue, 30 Oct 2007 13:29:50 +0000 (14:29 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 15 Nov 2007 12:47:19 +0000 (13:47 +0100)
This patch extends the I/O resource to 0xfff000cf which will enable the
watchdog driver to access the reset cause (RCAUSE) register. Making it
capable of reporting boot status.

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/at32ap7000.c

index a9d9ec081e3d7b8c729dfff3100ca3f2bc5f2b45..293f03c5adaad17393c81b7f89452cd1e85985ea 100644 (file)
@@ -474,7 +474,7 @@ static struct resource at32ap700x_rtc0_resource[] = {
 static struct resource at32_wdt0_resource[] = {
        {
                .start  = 0xfff000b0,
-               .end    = 0xfff000bf,
+               .end    = 0xfff000cf,
                .flags  = IORESOURCE_MEM,
        },
 };