Release 4.11 arch/arm/mach-shmobile/setup-sh73a0.c
/*
* sh73a0 processor support
*
* Copyright (C) 2010 Takashi Yoshii
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2008 Yoshihiro Shimoda
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/io.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/mach/map.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include "common.h"
#include "sh73a0.h"
static struct map_desc sh73a0_io_desc[] __initdata = {
/* create a 1:1 identity mapping for 0xe6xxxxxx
* used by CPGA, INTC and PFC.
*/
{
.virtual = 0xe6000000,
.pfn = __phys_to_pfn(0xe6000000),
.length = 256 << 20,
.type = MT_DEVICE_NONSHARED
},
};
static void __init sh73a0_map_io(void)
{
debug_ll_io_init();
iotable_init(sh73a0_io_desc, ARRAY_SIZE(sh73a0_io_desc));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 18 | 81.82% | 1 | 33.33% |
Geert Uytterhoeven | 4 | 18.18% | 2 | 66.67% |
Total | 22 | 100.00% | 3 | 100.00% |
static void __init sh73a0_generic_init(void)
{
#ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 64K*8way */
l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
#endif
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Geert Uytterhoeven | 14 | 51.85% | 1 | 25.00% |
Laurent Pinchart | 11 | 40.74% | 2 | 50.00% |
Magnus Damm | 2 | 7.41% | 1 | 25.00% |
Total | 27 | 100.00% | 4 | 100.00% |
static const char *const sh73a0_boards_compat_dt[] __initconst = {
"renesas,sh73a0",
NULL,
};
DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)")
.smp = smp_ops(sh73a0_smp_ops),
.map_io = sh73a0_map_io,
.init_early = shmobile_init_delay,
.init_machine = sh73a0_generic_init,
.init_late = shmobile_init_late,
.dt_compat = sh73a0_boards_compat_dt,
MACHINE_END
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 83 | 45.86% | 6 | 27.27% |
Geert Uytterhoeven | 50 | 27.62% | 4 | 18.18% |
Laurent Pinchart | 15 | 8.29% | 4 | 18.18% |
Juergen Beisert | 10 | 5.52% | 1 | 4.55% |
Holger Schurig | 8 | 4.42% | 2 | 9.09% |
Sascha Hauer | 7 | 3.87% | 2 | 9.09% |
Simon Horman | 4 | 2.21% | 1 | 4.55% |
Nico Pitre | 2 | 1.10% | 1 | 4.55% |
Russell King | 2 | 1.10% | 1 | 4.55% |
Total | 181 | 100.00% | 22 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.