Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * arch/sh/boards/se/73180/setup.c |
| 3 | * |
| 4 | * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> |
| 5 | * Based on arch/sh/setup_shmse.c |
| 6 | * |
| 7 | * Modified for 73180 SolutionEngine |
| 8 | * by YOSHII Takashi <yoshii-takashi@hitachi-ul.co.jp> |
| 9 | * |
| 10 | */ |
| 11 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #include <linux/init.h> |
| 13 | #include <asm/machvec.h> |
| 14 | #include <asm/machvec_init.h> |
| 15 | #include <asm/mach/io.h> |
| 16 | |
| 17 | void heartbeat_73180se(void); |
| 18 | void init_73180se_IRQ(void); |
| 19 | |
| 20 | const char * |
| 21 | get_system_type(void) |
| 22 | { |
| 23 | return "SolutionEngine 73180"; |
| 24 | } |
| 25 | |
| 26 | /* |
| 27 | * The Machine Vector |
| 28 | */ |
| 29 | |
| 30 | struct sh_machine_vector mv_73180se __initmv = { |
| 31 | .mv_nr_irqs = 108, |
| 32 | .mv_inb = sh73180se_inb, |
| 33 | .mv_inw = sh73180se_inw, |
| 34 | .mv_inl = sh73180se_inl, |
| 35 | .mv_outb = sh73180se_outb, |
| 36 | .mv_outw = sh73180se_outw, |
| 37 | .mv_outl = sh73180se_outl, |
| 38 | |
| 39 | .mv_inb_p = sh73180se_inb_p, |
| 40 | .mv_inw_p = sh73180se_inw, |
| 41 | .mv_inl_p = sh73180se_inl, |
| 42 | .mv_outb_p = sh73180se_outb_p, |
| 43 | .mv_outw_p = sh73180se_outw, |
| 44 | .mv_outl_p = sh73180se_outl, |
| 45 | |
| 46 | .mv_insb = sh73180se_insb, |
| 47 | .mv_insw = sh73180se_insw, |
| 48 | .mv_insl = sh73180se_insl, |
| 49 | .mv_outsb = sh73180se_outsb, |
| 50 | .mv_outsw = sh73180se_outsw, |
| 51 | .mv_outsl = sh73180se_outsl, |
| 52 | |
| 53 | .mv_init_irq = init_73180se_IRQ, |
| 54 | #ifdef CONFIG_HEARTBEAT |
| 55 | .mv_heartbeat = heartbeat_73180se, |
| 56 | #endif |
| 57 | }; |
| 58 | |
| 59 | ALIAS_MV(73180se) |
| 60 | /* |
| 61 | * Initialize the board |
| 62 | */ |
| 63 | void __init |
| 64 | platform_setup(void) |
| 65 | { |
| 66 | |
| 67 | } |