board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / board / telit / evk-pro3 / patches / barebox / 0004-at91sam9260-9g20-fix-wathdog-support.patch
blobedc1ea4d5b8f4cda965edd4332fcd3a7eb55da16
1 From d8231b1726a020733d87c2685ec1631403e050cf Mon Sep 17 00:00:00 2001
2 From: Fabio Porcedda <fabio.porcedda@gmail.com>
3 Date: Thu, 17 Jan 2013 11:32:35 +0100
4 Subject: [PATCH 4/4] at91sam9260/9g20: fix wathdog support
6 Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
7 ---
8 arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
12 index 51852a9a8..20c8cac9d 100644
13 --- a/arch/arm/mach-at91/at91sam9260_devices.c
14 +++ b/arch/arm/mach-at91/at91sam9260_devices.c
15 @@ -404,7 +404,7 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
16 static int at91_add_device_watchdog(void)
18 add_generic_device("at91sam9_wdt", DEVICE_ID_SINGLE, NULL,
19 - AT91_WDT + AT91_BASE_SYS, 16, IORESOURCE_MEM, NULL);
20 + AT91_BASE_WDT, 16, IORESOURCE_MEM, NULL);
22 return 0;
24 --
25 2.12.0