16b259203c
This kills off the hardcoded SH_CLK_MD introduced by the SH-2 boards and converts over to the mode pin API. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
28 lines
474 B
C
28 lines
474 B
C
/*
|
|
* arch/sh/boards/se/7619/setup.c
|
|
*
|
|
* Copyright (C) 2006 Yoshinori Sato
|
|
*
|
|
* Hitachi SH7619 SolutionEngine Support.
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
#include <linux/platform_device.h>
|
|
#include <asm/io.h>
|
|
#include <asm/machvec.h>
|
|
|
|
static int se7619_mode_pins(void)
|
|
{
|
|
return MODE_PIN2 | MODE_PIN0;
|
|
}
|
|
|
|
/*
|
|
* The Machine Vector
|
|
*/
|
|
|
|
static struct sh_machine_vector mv_se __initmv = {
|
|
.mv_name = "SolutionEngine",
|
|
.mv_nr_irqs = 108,
|
|
.mv_mode_pins = se7619_mode_pins,
|
|
};
|