/* * 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 | 51 | 73.91% | 1 | 33.33% |
Sascha Hauer | 13 | 18.84% | 1 | 33.33% |
Dinh Nguyen | 5 | 7.25% | 1 | 33.33% |
Total | 69 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Shawn Guo | 14 | 36.84% | 1 | 25.00% |
Jason Liu | 10 | 26.32% | 1 | 25.00% |
Dinh Nguyen | 9 | 23.68% | 1 | 25.00% |
Sascha Hauer | 5 | 13.16% | 1 | 25.00% |
Total | 38 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Sascha Hauer | 17 | 77.27% | 1 | 33.33% |
Jason Liu | 3 | 13.64% | 1 | 33.33% |
Dinh Nguyen | 2 | 9.09% | 1 | 33.33% |
Total | 22 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Amit Kucheria | 35 | 97.22% | 1 | 50.00% |
Dinh Nguyen | 1 | 2.78% | 1 | 50.00% |
Total | 36 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Dinh Nguyen | 25 | 56.82% | 1 | 33.33% |
Richard Zhao | 17 | 38.64% | 1 | 33.33% |
Shawn Guo | 2 | 4.55% | 1 | 33.33% |
Total | 44 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Dinh Nguyen | 19 | 86.36% | 2 | 66.67% |
Jason Liu | 3 | 13.64% | 1 | 33.33% |
Total | 22 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Shawn Guo | 75 | 26.04% | 2 | 18.18% |
Dinh Nguyen | 69 | 23.96% | 2 | 18.18% |
Amit Kucheria | 54 | 18.75% | 2 | 18.18% |
Sascha Hauer | 51 | 17.71% | 1 | 9.09% |
Richard Zhao | 17 | 5.90% | 1 | 9.09% |
Jason Liu | 17 | 5.90% | 1 | 9.09% |
Fabio Estevam | 3 | 1.04% | 1 | 9.09% |
Arnd Bergmann | 2 | 0.69% | 1 | 9.09% |
Total | 288 | 100.00% | 11 | 100.00% |