2 * (C) Copyright 2000-2007
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * Copyright 2004 Freescale Semiconductor, Inc.
7 * SPDX-License-Identifier: GPL-2.0+
9 * Derived from the MPC83xx code.
14 DECLARE_GLOBAL_DATA_PTR;
17 interrupt_handler_t *handler;
22 int interrupt_init_cpu (unsigned *decrementer_count)
24 *decrementer_count = get_tbclk () / CONFIG_SYS_HZ;
30 * Install and free an interrupt handler.
33 irq_install_handler (int irq, interrupt_handler_t * handler, void *arg)
37 void irq_free_handler (int irq)
41 void timer_interrupt_cpu (struct pt_regs *regs)
43 /* nothing to do here */