diff options
author | Nishanth Menon <nm@ti.com> | 2014-05-29 14:05:50 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-06-16 04:52:11 -0700 |
commit | 73d202807a1ca7225d7b79d5e403cc48bf0adfdc (patch) | |
tree | ddabc4303bbe7c43cba306f6302c717131904e0c /arch/arm/mach-omap2/id.c | |
parent | f5467da80b193edcf52cf6a14e762fdc9a2fb521 (diff) | |
download | linux-stable-73d202807a1ca7225d7b79d5e403cc48bf0adfdc.tar.gz linux-stable-73d202807a1ca7225d7b79d5e403cc48bf0adfdc.tar.bz2 linux-stable-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", |