cregit-Linux how code gets into the kernel

Release 4.7 arch/arm/mach-spear/spear1310.c

/*
 * arch/arm/mach-spear13xx/spear1310.c
 *
 * SPEAr1310 machine source file
 *
 * Copyright (C) 2012 ST Microelectronics
 * Viresh Kumar <vireshk@kernel.org>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */


#define pr_fmt(fmt) "SPEAr1310: " fmt

#include <linux/amba/pl022.h>
#include <linux/of_platform.h>
#include <linux/pata_arasan_cf_data.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include "generic.h"
#include <mach/spear.h>

/* Base addresses */

#define SPEAR1310_RAS_GRP1_BASE			UL(0xD8000000)

#define VA_SPEAR1310_RAS_GRP1_BASE		UL(0xFA000000)


static void __init spear1310_dt_init(void) { of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); platform_device_register_simple("spear-cpufreq", -1, NULL, 0); }

Contributors

PersonTokensPropCommitsCommitProp
viresh kumarviresh kumar3196.88%266.67%
arnd bergmannarnd bergmann13.12%133.33%
Total32100.00%3100.00%

static const char * const spear1310_dt_board_compat[] = { "st,spear1310", "st,spear1310-evb", NULL, }; /* * Following will create 16MB static virtual/physical mappings * PHYSICAL VIRTUAL * 0xD8000000 0xFA000000 */ static struct map_desc spear1310_io_desc[] __initdata = { { .virtual = VA_SPEAR1310_RAS_GRP1_BASE, .pfn = __phys_to_pfn(SPEAR1310_RAS_GRP1_BASE), .length = SZ_16M, .type = MT_DEVICE }, };
static void __init spear1310_map_io(void) { iotable_init(spear1310_io_desc, ARRAY_SIZE(spear1310_io_desc)); spear13xx_map_io(); }

Contributors

PersonTokensPropCommitsCommitProp
viresh kumarviresh kumar22100.00%1100.00%
Total22100.00%1100.00%

DT_MACHINE_START(SPEAR1310_DT, "ST SPEAr1310 SoC with Flattened Device Tree") .smp = smp_ops(spear13xx_smp_ops), .map_io = spear1310_map_io, .init_time = spear13xx_timer_init, .init_machine = spear1310_dt_init, .restart = spear_restart, .dt_compat = spear1310_dt_board_compat, MACHINE_END

Overall Contributors

PersonTokensPropCommitsCommitProp
viresh kumarviresh kumar15886.34%327.27%
arnd bergmannarnd bergmann105.46%327.27%
vipul kumar samarvipul kumar samar105.46%218.18%
stephen warrenstephen warren21.09%19.09%
rob herringrob herring21.09%19.09%
sachin kamatsachin kamat10.55%19.09%
Total183100.00%11100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}