summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-common/mach/snapgear.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-10-29 19:06:53 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-10-29 19:06:53 +0900
commitf6eec8d66400714e47add3d8341688a1e86c5de9 (patch)
treec8eb2ef3ada5e448503f6013ed1b3e8e1a3009a7 /arch/sh/include/mach-common/mach/snapgear.h
parent39c11984a4f36bd1ce7f90f7506824955f0f4863 (diff)
downloadlinux-f6eec8d66400714e47add3d8341688a1e86c5de9.tar.gz
linux-f6eec8d66400714e47add3d8341688a1e86c5de9.tar.bz2
linux-f6eec8d66400714e47add3d8341688a1e86c5de9.zip
sh: mach-snapgear: Kill off machtype, consolidate board def.
Only the secureedge5410 was ever supported by this code, so make the board specification explicit rather than perpetuating a mach group. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-common/mach/snapgear.h')
-rw-r--r--arch/sh/include/mach-common/mach/snapgear.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/arch/sh/include/mach-common/mach/snapgear.h b/arch/sh/include/mach-common/mach/snapgear.h
deleted file mode 100644
index 3653b9a4bacc..000000000000
--- a/arch/sh/include/mach-common/mach/snapgear.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * include/asm-sh/snapgear.h
- *
- * Modified version of io_se.h for the snapgear-specific functions.
- *
- * May be copied or modified under the terms of the GNU General Public
- * License. See linux/COPYING for more information.
- *
- * IO functions for a SnapGear
- */
-
-#ifndef _ASM_SH_IO_SNAPGEAR_H
-#define _ASM_SH_IO_SNAPGEAR_H
-
-#define __IO_PREFIX snapgear
-#include <asm/io_generic.h>
-
-/*
- * 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
- * written :-|
- *
- * Bit Read Write
- * -----------------------------------------------
- * D0 DCD on ttySC1 power
- * D1 Reset Switch heatbeat
- * D2 ttySC0 CTS (7100) LAN
- * D3 - WAN
- * D4 ttySC0 DCD (7100) CONSOLE
- * D5 - ONLINE
- * D6 - VPN
- * D7 - DTR on ttySC1
- * D8 - ttySC0 RTS (7100)
- * D9 - ttySC0 DTR (7100)
- * D10 - RTC SCLK
- * D11 RTC DATA RTC DATA
- * D12 - RTS RESET
- */
-
-#define SECUREEDGE_IOPORT_ADDR ((volatile short *) 0xb0000000)
-extern unsigned short secureedge5410_ioport;
-
-#define SECUREEDGE_WRITE_IOPORT(val, mask) (*SECUREEDGE_IOPORT_ADDR = \
- (secureedge5410_ioport = \
- ((secureedge5410_ioport & ~(mask)) | ((val) & (mask)))))
-#define SECUREEDGE_READ_IOPORT() \
- ((*SECUREEDGE_IOPORT_ADDR&0x0817) | (secureedge5410_ioport&~0x0817))
-
-#endif /* _ASM_SH_IO_SNAPGEAR_H */