summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2014-02-07 11:21:24 +0100
committerTony Lindgren <tony@atomide.com>2014-03-01 00:33:26 +0100
commit4a2ed4c0a3269a3a8cf269f5177f18c836ce869b (patch)
tree5fb76f550fbcc90d95d76e500f60d6764f360da4 /arch/arm/mach-omap2/id.c
parentARM: OMAP2+: AM43x: enable in default config (diff)
downloadlinux-4a2ed4c0a3269a3a8cf269f5177f18c836ce869b.tar.xz
linux-4a2ed4c0a3269a3a8cf269f5177f18c836ce869b.zip
ARM: OMAP2+: AM43x: Add ID for ES1.1
Adding ID for AM437x ES1.1 silicon. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r--arch/arm/mach-omap2/id.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 9428c5f9d4f2..8a05eaf85f8a 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -465,8 +465,18 @@ void __init omap3xxx_check_revision(void)
}
break;
case 0xb98c:
- omap_revision = AM437X_REV_ES1_0;
- cpu_rev = "1.0";
+ switch (rev) {
+ case 0:
+ omap_revision = AM437X_REV_ES1_0;
+ cpu_rev = "1.0";
+ break;
+ case 1:
+ /* FALLTHROUGH */
+ default:
+ omap_revision = AM437X_REV_ES1_1;
+ cpu_rev = "1.1";
+ break;
+ }
break;
case 0xb8f2:
switch (rev) {