blob: 0e04d3668b685a0cf4152f2f04354a3a59f969fe [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001/*
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 Zundel792a09e2009-05-13 10:54:10 +020011 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
wdenkc6097192002-11-03 00:24:07 +000012 *
Wolfgang Denk1a459662013-07-08 09:37:19 +020013 * SPDX-License-Identifier: GPL-2.0+
wdenkc6097192002-11-03 00:24:07 +000014 */
15
16#include <common.h>
Andreas Engel6d0943a2008-01-14 09:06:52 +000017#include <asm/proc-armv/ptrace.h>
Jean-Christophe PLAGNIOL-VILLARD798bf9a2009-06-23 00:12:01 +020018
Jean-Christophe PLAGNIOL-VILLARD8d460a52009-06-23 00:12:01 +020019#if defined (CONFIG_ARCH_INTEGRATOR)
wdenkc6097192002-11-03 00:24:07 +000020void do_irq (struct pt_regs *pt_regs)
21{
Wolfgang Denk74f43042005-09-25 01:48:28 +020022 /* ASSUMED to be a timer interrupt */
23 /* Just clear it - count handled in */
24 /* integratorap.c */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020025 *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0x0C) = 0;
wdenkc6097192002-11-03 00:24:07 +000026}
Jean-Christophe PLAGNIOL-VILLARD8d460a52009-06-23 00:12:01 +020027#endif