diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-09 18:25:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-09 18:25:29 -0500 |
commit | a80b824f0b63fa3a8c269903828beb0837d738e7 (patch) | |
tree | 9aca1a187bd1509f5c701a023733defbb8482431 /arch/sh/boards/snapgear/setup.c | |
parent | 45ff993d2b0b4c07038457cdf07ecf648abd3d78 (diff) | |
parent | 06e5fda18491b5ab3419bddc36f3de5b4f7142a9 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (26 commits)
sh: remove dead config symbols from SH code
sh: Kill off broken snapgear ds1302 code.
sh: Add a dummy vga.h.
rtc: rtc-sh: Zero out tm value for invalid rtc states.
rtc: sh-rtc: Handle rtc_device_register() failure properly.
sh: Fix heartbeart on Solution Engine series
sh: Remove SCI_NPORTS from sh-sci.h
sh: Fix up PAGE_KERNEL_PCC() for nommu.
sh: hs7751rvoip: Kill off dead IPR IRQ mappings.
sh: hs7751rvoip: irq.c needs linux/interrupt.h.
sh: Kill off __{copy,clear}_user_page().
sh: Optimized copy_{to,from}_user_page() for SH-4.
sh: Wire up clear_user_highpage().
sh: Kill off the remaining ST40 cruft.
superhyway: Handle device_register() retval properly.
sh: kgdb sysrq depends on magic sysrq.
sh: Add -Werror for clean directories.
sh: Fix up kgdb build with modular sh-sci.
sh: Export __{s,u}divsi3_i4i on all CPUs.
sh: Fix up kgdb-on-NMI branch target.
...
Diffstat (limited to 'arch/sh/boards/snapgear/setup.c')
-rw-r--r-- | arch/sh/boards/snapgear/setup.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/sh/boards/snapgear/setup.c b/arch/sh/boards/snapgear/setup.c index 2b594f600002..7022483f98e8 100644 --- a/arch/sh/boards/snapgear/setup.c +++ b/arch/sh/boards/snapgear/setup.c | |||
@@ -22,20 +22,15 @@ | |||
22 | #include <asm/snapgear.h> | 22 | #include <asm/snapgear.h> |
23 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <asm/rtc.h> | ||
26 | #include <asm/cpu/timer.h> | 25 | #include <asm/cpu/timer.h> |
27 | 26 | ||
28 | extern void secureedge5410_rtc_init(void); | ||
29 | extern void pcibios_init(void); | ||
30 | |||
31 | /****************************************************************************/ | ||
32 | /* | 27 | /* |
33 | * EraseConfig handling functions | 28 | * EraseConfig handling functions |
34 | */ | 29 | */ |
35 | 30 | ||
36 | static irqreturn_t eraseconfig_interrupt(int irq, void *dev_id) | 31 | static irqreturn_t eraseconfig_interrupt(int irq, void *dev_id) |
37 | { | 32 | { |
38 | volatile char dummy __attribute__((unused)) = * (volatile char *) 0xb8000000; | 33 | (void)ctrl_inb(0xb8000000); /* dummy read */ |
39 | 34 | ||
40 | printk("SnapGear: erase switch interrupt!\n"); | 35 | printk("SnapGear: erase switch interrupt!\n"); |
41 | 36 | ||
@@ -76,19 +71,10 @@ static void __init init_snapgear_IRQ(void) | |||
76 | } | 71 | } |
77 | 72 | ||
78 | /* | 73 | /* |
79 | * Initialize the board | ||
80 | */ | ||
81 | static void __init snapgear_setup(char **cmdline_p) | ||
82 | { | ||
83 | board_time_init = secureedge5410_rtc_init; | ||
84 | } | ||
85 | |||
86 | /* | ||
87 | * The Machine Vector | 74 | * The Machine Vector |
88 | */ | 75 | */ |
89 | static struct sh_machine_vector mv_snapgear __initmv = { | 76 | static struct sh_machine_vector mv_snapgear __initmv = { |
90 | .mv_name = "SnapGear SecureEdge5410", | 77 | .mv_name = "SnapGear SecureEdge5410", |
91 | .mv_setup = snapgear_setup, | ||
92 | .mv_nr_irqs = 72, | 78 | .mv_nr_irqs = 72, |
93 | 79 | ||
94 | .mv_inb = snapgear_inb, | 80 | .mv_inb = snapgear_inb, |