interrupts.c 670 B

123456789101112131415161718192021222324252627
  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. #include <common.h>
  16. #include <asm/proc-armv/ptrace.h>
  17. #if defined (CONFIG_ARCH_INTEGRATOR)
  18. void do_irq (struct pt_regs *pt_regs)
  19. {
  20. /* ASSUMED to be a timer interrupt */
  21. /* Just clear it - count handled in */
  22. /* integratorap.c */
  23. *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0x0C) = 0;
  24. }
  25. #endif