android_kernel_xiaomi_sm8350/include/asm-sh/sh03/io.h
Magnus Damm d59645d6ba sh: intc - remove redundant irq code for sh03, snapgear and titan
This patch removes redundant board specific interrupt code for boards
using sh775x processors and 4 IRQ lines in "Individual Interrupt Mode"
aka IRLM.

Three boards are affected: sh03, snapgear and titan.

The right way to do this is to use cpu specific code provided by intc.
A nice side effect is that sh03 now compiles, board not BROKEN any more.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-09-21 11:57:47 +09:00

26 lines
446 B
C

/*
* include/asm-sh/sh03/io.h
*
* Copyright 2004 Interface Co.,Ltd. Saito.K
*
* IO functions for an Interface CTP/PCI-SH03
*/
#ifndef _ASM_SH_IO_SH03_H
#define _ASM_SH_IO_SH03_H
#include <linux/time.h>
#define IRL0_IRQ 2
#define IRL0_PRIORITY 13
#define IRL1_IRQ 5
#define IRL1_PRIORITY 10
#define IRL2_IRQ 8
#define IRL2_PRIORITY 7
#define IRL3_IRQ 11
#define IRL3_PRIORITY 4
void heartbeat_sh03(void);
#endif /* _ASM_SH_IO_SH03_H */