/* * 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 | 17 | 77.27% | 1 | 33.33% |
jason liu | jason liu | 3 | 13.64% | 1 | 33.33% |
dinh nguyen | dinh nguyen | 2 | 9.09% | 1 | 33.33% |
Total | 22 | 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 | 19 | 86.36% | 2 | 66.67% |
jason liu | jason liu | 3 | 13.64% | 1 | 33.33% |
Total | 22 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
shawn guo | shawn guo | 75 | 26.04% | 2 | 18.18% |
dinh nguyen | dinh nguyen | 69 | 23.96% | 2 | 18.18% |
amit kucheria | amit kucheria | 54 | 18.75% | 2 | 18.18% |
sascha hauer | sascha hauer | 51 | 17.71% | 1 | 9.09% |
richard zhao | richard zhao | 17 | 5.90% | 1 | 9.09% |
jason liu | jason liu | 17 | 5.90% | 1 | 9.09% |
fabio estevam | fabio estevam | 3 | 1.04% | 1 | 9.09% |
arnd bergmann | arnd bergmann | 2 | 0.69% | 1 | 9.09% |
Total | 288 | 100.00% | 11 | 100.00% |