diff options
author | Nishanth Menon <nm@ti.com> | 2014-05-29 21:05:50 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-06-16 13:52:11 +0200 |
commit | 73d202807a1ca7225d7b79d5e403cc48bf0adfdc (patch) | |
tree | ddabc4303bbe7c43cba306f6302c717131904e0c /arch/arm/mach-omap2/id.c | |
parent | Merge tag 'for-v3.16-rc/omap-fixes-a' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
download | linux-73d202807a1ca7225d7b79d5e403cc48bf0adfdc.tar.xz linux-73d202807a1ca7225d7b79d5e403cc48bf0adfdc.zip |
ARM: DRA722: add detection of SoC information
Add support for DRA72x device DIEID. Currently these devices are
reported as DRA75/74 family of processors.
Signed-off-by: Nishanth Menon <nm@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 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 43969da5d50b..d42022f2a71e 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -649,6 +649,18 @@ void __init dra7xxx_check_revision(void) } break; + case 0xb9bc: + switch (rev) { + case 0: + omap_revision = DRA722_REV_ES1_0; + break; + default: + /* If we have no new revisions */ + omap_revision = DRA722_REV_ES1_0; + break; + } + break; + default: /* Unknown default to latest silicon rev as default*/ pr_warn("%s: unknown idcode=0x%08x (hawkeye=0x%08x,rev=0x%d)\n", |