diff options
author | Afzal Mohammed <afzal@ti.com> | 2013-05-27 16:36:01 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-12 17:00:35 +0200 |
commit | c04bbaa46c8c8961eff95c4cead5a17fd1ca538b (patch) | |
tree | e52b68dbcb20ae89c4e6a88ef818176adf62e76c /arch/arm/mach-omap2/id.c | |
parent | ARM: OMAP2+: AM43x: soc_is support (diff) | |
download | linux-c04bbaa46c8c8961eff95c4cead5a17fd1ca538b.tar.xz linux-c04bbaa46c8c8961eff95c4cead5a17fd1ca538b.zip |
ARM: OMAP2+: AM437x: SoC revision detection
Detect 437x SoC revision.
Signed-off-by: Afzal Mohammed <afzal@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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 1272c41d4749..1fbb3c550a3c 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -209,6 +209,8 @@ static void __init omap3_cpuinfo(void) cpu_name = "TI816X"; } else if (soc_is_am335x()) { cpu_name = "AM335X"; + } else if (soc_is_am437x()) { + cpu_name = "AM437x"; } else if (cpu_is_ti814x()) { cpu_name = "TI814X"; } else if (omap3_has_iva() && omap3_has_sgx()) { @@ -430,6 +432,10 @@ void __init omap3xxx_check_revision(void) break; } break; + case 0xb98c: + omap_revision = AM437X_REV_ES1_0; + cpu_rev = "1.0"; + break; case 0xb8f2: switch (rev) { case 0: |