Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73383
b: refs/heads/master
c: 6d1c76d
h: refs/heads/master
i:
  73381: 02a7557
  73379: c98145e
  73375: 1063f92
v: v3
  • Loading branch information
Paul Mundt committed Nov 8, 2007
1 parent e76d534 commit 95608c6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 327 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cbeb13447f015d90367c9f72fbf87227f3e186c8
refs/heads/master: 6d1c76d4e76ef72fce5a7169430ab8f9a68d7924
3 changes: 1 addition & 2 deletions trunk/arch/sh/boards/snapgear/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# Makefile for the SnapGear specific parts of the kernel
#

obj-y := setup.o io.o rtc.o

obj-y := setup.o io.o
309 changes: 0 additions & 309 deletions trunk/arch/sh/boards/snapgear/rtc.c

This file was deleted.

16 changes: 1 addition & 15 deletions trunk/arch/sh/boards/snapgear/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,15 @@
#include <asm/snapgear.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/rtc.h>
#include <asm/cpu/timer.h>

extern void secureedge5410_rtc_init(void);
extern void pcibios_init(void);

/****************************************************************************/
/*
* EraseConfig handling functions
*/

static irqreturn_t eraseconfig_interrupt(int irq, void *dev_id)
{
volatile char dummy __attribute__((unused)) = * (volatile char *) 0xb8000000;
(void)ctrl_inb(0xb8000000); /* dummy read */

printk("SnapGear: erase switch interrupt!\n");

Expand Down Expand Up @@ -75,20 +70,11 @@ static void __init init_snapgear_IRQ(void)
plat_irq_setup_pins(IRQ_MODE_IRQ);
}

/*
* Initialize the board
*/
static void __init snapgear_setup(char **cmdline_p)
{
board_time_init = secureedge5410_rtc_init;
}

/*
* The Machine Vector
*/
static struct sh_machine_vector mv_snapgear __initmv = {
.mv_name = "SnapGear SecureEdge5410",
.mv_setup = snapgear_setup,
.mv_nr_irqs = 72,

.mv_inb = snapgear_inb,
Expand Down

0 comments on commit 95608c6

Please sign in to comment.