1/* 2 * (C) Copyright 2000-2007 3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 * 5 * Copyright 2004 Freescale Semiconductor, Inc. 6 * 7 * SPDX-License-Identifier: GPL-2.0+ 8 * 9 * Derived from the MPC83xx code. 10 */ 11 12#include <common.h> 13 14DECLARE_GLOBAL_DATA_PTR; 15 16struct irq_action { 17 interrupt_handler_t *handler; 18 void *arg; 19 ulong count; 20}; 21 22int interrupt_init_cpu (unsigned *decrementer_count) 23{ 24 *decrementer_count = get_tbclk () / CONFIG_SYS_HZ; 25 26 return 0; 27} 28 29/* 30 * Install and free an interrupt handler. 31 */ 32void 33irq_install_handler (int irq, interrupt_handler_t * handler, void *arg) 34{ 35} 36 37void irq_free_handler (int irq) 38{ 39} 40 41void timer_interrupt_cpu (struct pt_regs *regs) 42{ 43 /* nothing to do here */ 44 return; 45} 46