2007-07-10 05:06:53 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARCH_MXC_IRQS_H__
|
|
|
|
#define __ASM_ARCH_MXC_IRQS_H__
|
|
|
|
|
2008-08-05 23:14:15 +08:00
|
|
|
#include <mach/hardware.h>
|
2008-09-09 17:29:41 +08:00
|
|
|
extern void imx_irq_set_priority(unsigned char irq, unsigned char prio);
|
2007-07-10 05:06:53 +08:00
|
|
|
|
2008-11-14 18:01:39 +08:00
|
|
|
/* all normal IRQs can be FIQs */
|
|
|
|
#define FIQ_START 0
|
|
|
|
/* switch betwean IRQ and FIQ */
|
|
|
|
extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
|
|
|
|
|
2008-03-28 17:59:08 +08:00
|
|
|
#endif /* __ASM_ARCH_MXC_IRQS_H__ */
|