Release 4.14 arch/sh/boards/board-shmin.c
// SPDX-License-Identifier: GPL-2.0
/*
* arch/sh/boards/shmin/setup.c
*
* Copyright (C) 2006 Takashi YOSHII
*
* SHMIN Support.
*/
#include <linux/init.h>
#include <linux/irq.h>
#include <asm/machvec.h>
#include <mach/shmin.h>
#include <asm/clock.h>
#include <asm/io.h>
#define PFC_PHCR 0xa400010eUL
#define INTC_ICR1 0xa4000010UL
static void __init init_shmin_irq(void)
{
__raw_writew(0x2a00, PFC_PHCR); // IRQ0-3=IRQ
__raw_writew(0x0aaa, INTC_ICR1); // IRQ0-3=IRQ-mode,Low-active.
plat_irq_setup_pins(IRQ_MODE_IRQ);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Takashi Yoshii | 26 | 86.67% | 2 | 50.00% |
Magnus Damm | 2 | 6.67% | 1 | 25.00% |
Paul Mundt | 2 | 6.67% | 1 | 25.00% |
Total | 30 | 100.00% | 4 | 100.00% |
static void __init shmin_setup(char **cmdline_p)
{
__set_io_port_base(SHMIN_IO_BASE);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paul Mundt | 9 | 52.94% | 1 | 50.00% |
Takashi Yoshii | 8 | 47.06% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
static struct sh_machine_vector mv_shmin __initmv = {
.mv_name = "SHMIN",
.mv_setup = shmin_setup,
.mv_init_irq = init_shmin_irq,
};
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Takashi Yoshii | 69 | 70.41% | 2 | 18.18% |
Paul Mundt | 22 | 22.45% | 5 | 45.45% |
Magnus Damm | 5 | 5.10% | 2 | 18.18% |
Nobuhiro Iwamatsu | 1 | 1.02% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 1.02% | 1 | 9.09% |
Total | 98 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.