diff options
author | Aida Mynzhasova <aida.mynzhasova@skitlab.ru> | 2013-05-30 14:21:01 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-18 01:17:01 -0700 |
commit | a5f93d9dad9c203e0715206ef60a505013561df6 (patch) | |
tree | a90e027bbb5e6a65bf5c5aacce2616438e3c0969 /arch/arm/mach-omap2/id.c | |
parent | bb256f803c9f620eb5a7d1c02e53360392cffbdd (diff) | |
download | blackbird-op-linux-a5f93d9dad9c203e0715206ef60a505013561df6.tar.gz blackbird-op-linux-a5f93d9dad9c203e0715206ef60a505013561df6.zip |
ARM: OMAP2: TI81XX: id: Add cpu id for TI816x ES2.0 and ES2.1
Currently omap3xxx_check_revision() detects ES1.0 and ES1.1 only,
this patch extends it by adding ES2.0 and ES2.1 versions support.
Signed-off-by: Aida Mynzhasova <aida.mynzhasova@skitlab.ru>
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 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 74f71abcd50e..9e5c7cb4a81a 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -407,11 +407,18 @@ void __init omap3xxx_check_revision(void) cpu_rev = "1.0"; break; case 1: - /* FALLTHROUGH */ - default: omap_revision = TI8168_REV_ES1_1; cpu_rev = "1.1"; break; + case 2: + omap_revision = TI8168_REV_ES2_0; + cpu_rev = "2.0"; + break; + case 3: + /* FALLTHROUGH */ + default: + omap_revision = TI8168_REV_ES2_1; + cpu_rev = "2.1"; } break; case 0xb944: |