aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/shmin/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/shmin/setup.c')
-rw-r--r--arch/sh/boards/shmin/setup.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/sh/boards/shmin/setup.c b/arch/sh/boards/shmin/setup.c
index a950ec4d765d..2f0c19706cf9 100644
--- a/arch/sh/boards/shmin/setup.c
+++ b/arch/sh/boards/shmin/setup.c
@@ -14,21 +14,12 @@
14 14
15#define PFC_PHCR 0xa400010e 15#define PFC_PHCR 0xa400010e
16 16
17const char *get_system_type(void)
18{
19 return "SHMIN";
20}
21
22static void __init init_shmin_irq(void) 17static void __init init_shmin_irq(void)
23{ 18{
24 ctrl_outw(0x2a00, PFC_PHCR); // IRQ0-3=IRQ 19 ctrl_outw(0x2a00, PFC_PHCR); // IRQ0-3=IRQ
25 ctrl_outw(0x0aaa, INTC_ICR1); // IRQ0-3=IRQ-mode,Low-active. 20 ctrl_outw(0x0aaa, INTC_ICR1); // IRQ0-3=IRQ-mode,Low-active.
26} 21}
27 22
28void __init platform_setup(void)
29{
30}
31
32static void __iomem *shmin_ioport_map(unsigned long port, unsigned int size) 23static void __iomem *shmin_ioport_map(unsigned long port, unsigned int size)
33{ 24{
34 static int dummy; 25 static int dummy;
@@ -43,6 +34,7 @@ static void __iomem *shmin_ioport_map(unsigned long port, unsigned int size)
43} 34}
44 35
45struct sh_machine_vector mv_shmin __initmv = { 36struct sh_machine_vector mv_shmin __initmv = {
37 .mv_name = "SHMIN",
46 .mv_init_irq = init_shmin_irq, 38 .mv_init_irq = init_shmin_irq,
47 .mv_ioport_map = shmin_ioport_map, 39 .mv_ioport_map = shmin_ioport_map,
48}; 40};