aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-cobalt
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-10-02 10:17:38 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-10-11 18:46:14 -0400
commit3282bd3cb0c7653e604c0d3666331281ae8f74c4 (patch)
tree75fe2ae38bbea3810481026798940da6f53a0a5b /include/asm-mips/mach-cobalt
parent5a860424a1bcf21655d993a7c09b36662e34d2a9 (diff)
[MIPS] Cobalt: Move reset port definition to arch/mips/cobalt/reset.c
It's only used in arch/mips/cobalt/reset.c. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-cobalt')
-rw-r--r--include/asm-mips/mach-cobalt/cobalt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-mips/mach-cobalt/cobalt.h b/include/asm-mips/mach-cobalt/cobalt.h
index 4cb5844d42d..a79e7caf3a8 100644
--- a/include/asm-mips/mach-cobalt/cobalt.h
+++ b/include/asm-mips/mach-cobalt/cobalt.h
@@ -22,13 +22,6 @@ extern int cobalt_board_id;
22#define COBALT_BRD_ID_QUBE2 0x5 22#define COBALT_BRD_ID_QUBE2 0x5
23#define COBALT_BRD_ID_RAQ2 0x6 23#define COBALT_BRD_ID_RAQ2 0x6
24 24
25#define COBALT_LED_PORT (*(volatile unsigned char *) CKSEG1ADDR(0x1c000000))
26# define COBALT_LED_BAR_LEFT (1 << 0) /* Qube */
27# define COBALT_LED_BAR_RIGHT (1 << 1) /* Qube */
28# define COBALT_LED_WEB (1 << 2) /* RaQ */
29# define COBALT_LED_POWER_OFF (1 << 3) /* RaQ */
30# define COBALT_LED_RESET 0x0f
31
32#define COBALT_KEY_PORT ((~*(volatile unsigned int *) CKSEG1ADDR(0x1d000000) >> 24) & COBALT_KEY_MASK) 25#define COBALT_KEY_PORT ((~*(volatile unsigned int *) CKSEG1ADDR(0x1d000000) >> 24) & COBALT_KEY_MASK)
33# define COBALT_KEY_CLEAR (1 << 1) 26# define COBALT_KEY_CLEAR (1 << 1)
34# define COBALT_KEY_LEFT (1 << 2) 27# define COBALT_KEY_LEFT (1 << 2)