]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/powerpc/cpu/mpc512x/interrupts.c
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc512x / interrupts.c
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
14 DECLARE_GLOBAL_DATA_PTR;
15
16 struct irq_action {
17         interrupt_handler_t *handler;
18         void *arg;
19         ulong count;
20 };
21
22 int 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  */
32 void
33 irq_install_handler (int irq, interrupt_handler_t * handler, void *arg)
34 {
35 }
36
37 void irq_free_handler (int irq)
38 {
39 }
40
41 void timer_interrupt_cpu (struct pt_regs *regs)
42 {
43         /* nothing to do here */
44         return;
45 }