summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-common
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-29 11:59:58 +0200
committerPaul Mundt <lethal@linux-sh.org>2010-10-29 11:59:58 +0200
commit39c11984a4f36bd1ce7f90f7506824955f0f4863 (patch)
treec4d0dfdd16c421d59c1a7ae0be3f3130b74c60fd /arch/sh/include/mach-common
parentsh: mach-microdev: SuperIO-relative ioport mapping. (diff)
downloadlinux-39c11984a4f36bd1ce7f90f7506824955f0f4863.tar.xz
linux-39c11984a4f36bd1ce7f90f7506824955f0f4863.zip
sh: mach-snapgear: Rip out superfluous PIO routines.
None of these PIO routines do anything other than basic error checking, get rid of them and use the generic fallbacks. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-common')
-rw-r--r--arch/sh/include/mach-common/mach/snapgear.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/sh/include/mach-common/mach/snapgear.h b/arch/sh/include/mach-common/mach/snapgear.h
index 042d95f51c4d..3653b9a4bacc 100644
--- a/arch/sh/include/mach-common/mach/snapgear.h
+++ b/arch/sh/include/mach-common/mach/snapgear.h
@@ -12,30 +12,9 @@
#ifndef _ASM_SH_IO_SNAPGEAR_H
#define _ASM_SH_IO_SNAPGEAR_H
-#if defined(CONFIG_CPU_SH4)
-/*
- * The external interrupt lines, these take up ints 0 - 15 inclusive
- * depending on the priority for the interrupt. In fact the priority
- * is the interrupt :-)
- */
-
-#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
-#endif
-
#define __IO_PREFIX snapgear
#include <asm/io_generic.h>
-#ifdef CONFIG_SH_SECUREEDGE5410
/*
* We need to remember what was written to the ioport as some bits
* are shared with other functions and you cannot read back what was
@@ -66,6 +45,5 @@ extern unsigned short secureedge5410_ioport;
((secureedge5410_ioport & ~(mask)) | ((val) & (mask)))))
#define SECUREEDGE_READ_IOPORT() \
((*SECUREEDGE_IOPORT_ADDR&0x0817) | (secureedge5410_ioport&~0x0817))
-#endif
#endif /* _ASM_SH_IO_SNAPGEAR_H */