aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
authorLeonid Iziumtsev <x0153368@ti.com>2011-12-13 13:46:44 -0500
committerTony Lindgren <tony@atomide.com>2011-12-13 13:46:44 -0500
commitec023e46f7e86acb04fef5bdd1e9465f5fc39894 (patch)
tree86912a28e4c7827c47da40661582d462733e6d14 /arch/arm/mach-omap2/id.c
parent55035c1524b5b48ac7d267167c4895f7831897ad (diff)
ARM: OMAP: ID: Chip detection for OMAP4470
Add support for detection of the next chip in the OMAP4 family: OMAP4470 ES1.0 For more details on OMAP4470, visit: http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12869&contentId=123362 Signed-off-by: Leonid Iziumtsev <x0153368@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.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 5bb4ee18564..439afe7acdc 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -371,7 +371,7 @@ static void __init omap4_check_revision(void)
371 * Few initial 4430 ES2.0 samples IDCODE is same as ES1.0 371 * Few initial 4430 ES2.0 samples IDCODE is same as ES1.0
372 * Use ARM register to detect the correct ES version 372 * Use ARM register to detect the correct ES version
373 */ 373 */
374 if (!rev && (hawkeye != 0xb94e)) { 374 if (!rev && (hawkeye != 0xb94e) && (hawkeye != 0xb975)) {
375 idcode = read_cpuid(CPUID_ID); 375 idcode = read_cpuid(CPUID_ID);
376 rev = (idcode & 0xf) - 1; 376 rev = (idcode & 0xf) - 1;
377 } 377 }
@@ -408,6 +408,14 @@ static void __init omap4_check_revision(void)
408 break; 408 break;
409 } 409 }
410 break; 410 break;
411 case 0xb975:
412 switch (rev) {
413 case 0:
414 default:
415 omap_revision = OMAP4470_REV_ES1_0;
416 break;
417 }
418 break;
411 default: 419 default:
412 /* Unknown default to latest silicon rev as default */ 420 /* Unknown default to latest silicon rev as default */
413 omap_revision = OMAP4430_REV_ES2_3; 421 omap_revision = OMAP4430_REV_ES2_3;