/* * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html * * This file contains the CPU initialization code. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> #include "hardware.h" #include "common.h" static int mx5_cpu_rev = -1; #define IIM_SREV 0x24
static u32 imx5_read_srev_reg(const char *compat) { void __iomem *iim_base; struct device_node *np; u32 srev; np = of_find_compatible_node(NULL, NULL, compat); iim_base = of_iomap(np, 0); WARN_ON(!iim_base); srev = readl(iim_base + IIM_SREV) & 0xff; iounmap(iim_base); return srev; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 51 | 73.91% | 1 | 33.33% |
sascha hauer | sascha hauer | 13 | 18.84% | 1 | 33.33% |
dinh nguyen | dinh nguyen | 5 | 7.25% | 1 | 33.33% |
Total | 69 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 14 | 36.84% | 1 | 25.00% |
jason liu | jason liu | 10 | 26.32% | 1 | 25.00% |
dinh nguyen | dinh nguyen | 9 | 23.68% | 1 | 25.00% |
sascha hauer | sascha hauer | 5 | 13.16% | 1 | 25.00% |
Total | 38 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
sascha hauer | sascha hauer | 27 | 84.38% | 1 | 33.33% |
jason liu | jason liu | 3 | 9.38% | 1 | 33.33% |
dinh nguyen | dinh nguyen | 2 | 6.25% | 1 | 33.33% |
Total | 32 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
amit kucheria | amit kucheria | 35 | 97.22% | 1 | 50.00% |
dinh nguyen | dinh nguyen | 1 | 2.78% | 1 | 50.00% |
Total | 36 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
dinh nguyen | dinh nguyen | 25 | 56.82% | 1 | 33.33% |
richard zhao | richard zhao | 17 | 38.64% | 1 | 33.33% |
shawn guo | shawn guo | 2 | 4.55% | 1 | 33.33% |
Total | 44 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
dinh nguyen | dinh nguyen | 29 | 90.62% | 2 | 66.67% |
jason liu | jason liu | 3 | 9.38% | 1 | 33.33% |
Total | 32 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
dinh nguyen | dinh nguyen | 80 | 25.97% | 2 | 20.00% |
shawn guo | shawn guo | 75 | 24.35% | 2 | 20.00% |
sascha hauer | sascha hauer | 62 | 20.13% | 1 | 10.00% |
amit kucheria | amit kucheria | 54 | 17.53% | 2 | 20.00% |
jason liu | jason liu | 17 | 5.52% | 1 | 10.00% |
richard zhao | richard zhao | 17 | 5.52% | 1 | 10.00% |
fabio estevam | fabio estevam | 3 | 0.97% | 1 | 10.00% |
Total | 308 | 100.00% | 10 | 100.00% |