diff options
author | Hans-Christian Egtvedt <hcegtvedt@atmel.com> | 2007-10-30 09:29:50 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-11-15 07:47:19 -0500 |
commit | 9797bed20e2257f349872e00840a226f397f8d3a (patch) | |
tree | 185532b740396a3632995efce88853cf9c3051b5 | |
parent | 330a9c1df63ca5043c468698da0a1853fd6778bb (diff) |
Extend I/O resource for wdt0 for at32ap7000 devices
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>
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap7000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c index a9d9ec081e3d..293f03c5adaa 100644 --- a/arch/avr32/mach-at32ap/at32ap7000.c +++ b/arch/avr32/mach-at32ap/at32ap7000.c | |||
@@ -474,7 +474,7 @@ static struct resource at32ap700x_rtc0_resource[] = { | |||
474 | static struct resource at32_wdt0_resource[] = { | 474 | static struct resource at32_wdt0_resource[] = { |
475 | { | 475 | { |
476 | .start = 0xfff000b0, | 476 | .start = 0xfff000b0, |
477 | .end = 0xfff000bf, | 477 | .end = 0xfff000cf, |
478 | .flags = IORESOURCE_MEM, | 478 | .flags = IORESOURCE_MEM, |
479 | }, | 479 | }, |
480 | }; | 480 | }; |