Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 /*
0004  * arch/arm/mach-omap1/ams-delta-fiq.h
0005  *
0006  * Taken from the original Amstrad modifications to fiq.h
0007  *
0008  * Copyright (c) 2004 Amstrad Plc
0009  * Copyright (c) 2006 Matt Callow
0010  * Copyright (c) 2010 Janusz Krzysztofik
0011  *
0012  * This program is free software; you can redistribute it and/or modify
0013  * it under the terms of the GNU General Public License version 2 as
0014  * published by the Free Software Foundation.
0015  */
0016 #ifndef __AMS_DELTA_FIQ_H
0017 #define __AMS_DELTA_FIQ_H
0018 
0019 #include "irqs.h"
0020 
0021 /*
0022  * Interrupt number used for passing control from FIQ to IRQ.
0023  * IRQ12, described as reserved, has been selected.
0024  */
0025 #define INT_DEFERRED_FIQ    INT_1510_RES12
0026 /*
0027  * Base address of an interrupt handler that the INT_DEFERRED_FIQ belongs to.
0028  */
0029 #if (INT_DEFERRED_FIQ < IH2_BASE)
0030 #define DEFERRED_FIQ_IH_BASE    OMAP_IH1_BASE
0031 #else
0032 #define DEFERRED_FIQ_IH_BASE    OMAP_IH2_BASE
0033 #endif
0034 
0035 #ifndef __ASSEMBLER__
0036 extern unsigned char qwerty_fiqin_start, qwerty_fiqin_end;
0037 
0038 extern void __init ams_delta_init_fiq(struct gpio_chip *chip,
0039                       struct platform_device *pdev);
0040 #endif
0041 
0042 #endif