b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [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 |
| 11 | * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
| 12 | * |
| 13 | * SPDX-License-Identifier: GPL-2.0+ |
| 14 | */ |
| 15 | |
| 16 | #include <common.h> |
| 17 | #include <asm/proc-armv/ptrace.h> |
| 18 | |
| 19 | #if defined (CONFIG_ARCH_INTEGRATOR) |
| 20 | void do_irq (struct pt_regs *pt_regs) |
| 21 | { |
| 22 | /* ASSUMED to be a timer interrupt */ |
| 23 | /* Just clear it - count handled in */ |
| 24 | /* integratorap.c */ |
| 25 | *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0x0C) = 0; |
| 26 | } |
| 27 | #endif |