summaryrefslogtreecommitdiff
path: root/board/telit/evk-pro3/barebox-2013.04.0-0004-at91sam9260-9g20-fix-wathdog-support.patch
blob: cdfd026adfea79c34c5afd6faa2c4113aa860382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From e03bf0e3ad24898019b89eb9a6935d159c60268f Mon Sep 17 00:00:00 2001
From: Fabio Porcedda <fabio.porcedda@gmail.com>
Date: Thu, 17 Jan 2013 11:32:35 +0100
Subject: [PATCH 4/5] at91sam9260/9g20: fix wathdog support

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
 arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
index 5885f91..df675d2 100644
--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -403,7 +403,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
 static int at91_add_device_watchdog(void)
 {
 	add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
-		AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
+		AT91_BASE_WDT, 16, IORESOURCE_MEM, NULL);
 
 	return 0;
 }
-- 
1.8.1.4