aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/se/7300/setup.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 05:17:31 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 05:17:31 -0400
commit2c7834a6f15fe6c50ed4766f1bb6f9183b9e2740 (patch)
tree2dee1fc4b2cd69d8e7f07e0462c57c98261a9fcf /arch/sh/boards/se/7300/setup.c
parentbc8fb5d0471473f775378d09db712dcb8eeece75 (diff)
sh: machvec rework.
Some more machvec overhauling and setup code cleanup. Kill off get_system_type() and platform_setup(), we can do these both through the machvec. While we're add it, kill off more useless mach.c's and drop some legacy cruft from setup.c. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/se/7300/setup.c')
-rw-r--r--arch/sh/boards/se/7300/setup.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/sh/boards/se/7300/setup.c b/arch/sh/boards/se/7300/setup.c
index bb7e1a189be8..6f082a722d42 100644
--- a/arch/sh/boards/se/7300/setup.c
+++ b/arch/sh/boards/se/7300/setup.c
@@ -14,17 +14,11 @@
14void heartbeat_7300se(void); 14void heartbeat_7300se(void);
15void init_7300se_IRQ(void); 15void init_7300se_IRQ(void);
16 16
17const char *
18get_system_type(void)
19{
20 return "SolutionEngine 7300";
21}
22
23/* 17/*
24 * The Machine Vector 18 * The Machine Vector
25 */ 19 */
26
27struct sh_machine_vector mv_7300se __initmv = { 20struct sh_machine_vector mv_7300se __initmv = {
21 .mv_name = "SolutionEngine 7300",
28 .mv_nr_irqs = 109, 22 .mv_nr_irqs = 109,
29 .mv_inb = sh7300se_inb, 23 .mv_inb = sh7300se_inb,
30 .mv_inw = sh7300se_inw, 24 .mv_inw = sh7300se_inw,
@@ -52,13 +46,4 @@ struct sh_machine_vector mv_7300se __initmv = {
52 .mv_heartbeat = heartbeat_7300se, 46 .mv_heartbeat = heartbeat_7300se,
53#endif 47#endif
54}; 48};
55
56ALIAS_MV(7300se) 49ALIAS_MV(7300se)
57/*
58 * Initialize the board
59 */
60void __init
61platform_setup(void)
62{
63
64}