![Rabin Vincent](/assets/img/avatar_default.png)
This splits out a per-SoC IRQ range handling, so that the DB8500 and DB5500 SoC:s can reuse aproximately the same IRQ range with the largest span setting the roof. The same change is done for the boards, mutatis mutandis, with a new file for the U5500 board. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
22 lines
451 B
C
22 lines
451 B
C
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
*
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*/
|
|
|
|
#ifndef __MACH_IRQS_BOARD_U5500_H
|
|
#define __MACH_IRQS_BOARD_U5500_H
|
|
|
|
#define AB5500_NR_IRQS 5
|
|
#define IRQ_AB5500_BASE IRQ_BOARD_START
|
|
#define IRQ_AB5500_END (IRQ_AB5500_BASE + AB5500_NR_IRQS)
|
|
|
|
#define U5500_IRQ_END IRQ_AB5500_END
|
|
|
|
#if IRQ_BOARD_END < U5500_IRQ_END
|
|
#undef IRQ_BOARD_END
|
|
#define IRQ_BOARD_END U5500_IRQ_END
|
|
#endif
|
|
|
|
#endif
|