wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
| 3 | * Sysgo Real-Time Solutions, GmbH <www.elinos.com> |
| 4 | * Marius Groeger <mgroeger@sysgo.de> |
| 5 | * |
| 6 | * (C) Copyright 2002 |
| 7 | * Sysgo Real-Time Solutions, GmbH <www.elinos.com> |
| 8 | * Alex Zuepke <azu@sysgo.de> |
| 9 | * |
| 10 | * (C) Copyright 2002 |
Detlev Zundel | 792a09e | 2009-05-13 10:54:10 +0200 | [diff] [blame] | 11 | * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 12 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 13 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #include <common.h> |
Andreas Engel | 6d0943a | 2008-01-14 09:06:52 +0000 | [diff] [blame] | 17 | #include <asm/proc-armv/ptrace.h> |
Jean-Christophe PLAGNIOL-VILLARD | 798bf9a | 2009-06-23 00:12:01 +0200 | [diff] [blame] | 18 | |
Jean-Christophe PLAGNIOL-VILLARD | 8d460a5 | 2009-06-23 00:12:01 +0200 | [diff] [blame] | 19 | #if defined (CONFIG_ARCH_INTEGRATOR) |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 20 | void do_irq (struct pt_regs *pt_regs) |
| 21 | { |
Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 22 | /* ASSUMED to be a timer interrupt */ |
| 23 | /* Just clear it - count handled in */ |
| 24 | /* integratorap.c */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 25 | *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0x0C) = 0; |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 26 | } |
Jean-Christophe PLAGNIOL-VILLARD | 8d460a5 | 2009-06-23 00:12:01 +0200 | [diff] [blame] | 27 | #endif |