diff options
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 9428c5f9d4f2..157412e4273a 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -465,8 +465,18 @@ void __init omap3xxx_check_revision(void) | |||
465 | } | 465 | } |
466 | break; | 466 | break; |
467 | case 0xb98c: | 467 | case 0xb98c: |
468 | omap_revision = AM437X_REV_ES1_0; | 468 | switch (rev) { |
469 | cpu_rev = "1.0"; | 469 | case 0: |
470 | omap_revision = AM437X_REV_ES1_0; | ||
471 | cpu_rev = "1.0"; | ||
472 | break; | ||
473 | case 1: | ||
474 | /* FALLTHROUGH */ | ||
475 | default: | ||
476 | omap_revision = AM437X_REV_ES1_1; | ||
477 | cpu_rev = "1.1"; | ||
478 | break; | ||
479 | } | ||
470 | break; | 480 | break; |
471 | case 0xb8f2: | 481 | case 0xb8f2: |
472 | switch (rev) { | 482 | switch (rev) { |
@@ -657,6 +667,8 @@ static const char * __init omap_get_family(void) | |||
657 | return kasprintf(GFP_KERNEL, "OMAP4"); | 667 | return kasprintf(GFP_KERNEL, "OMAP4"); |
658 | else if (soc_is_omap54xx()) | 668 | else if (soc_is_omap54xx()) |
659 | return kasprintf(GFP_KERNEL, "OMAP5"); | 669 | return kasprintf(GFP_KERNEL, "OMAP5"); |
670 | else if (soc_is_am43xx()) | ||
671 | return kasprintf(GFP_KERNEL, "AM43xx"); | ||
660 | else | 672 | else |
661 | return kasprintf(GFP_KERNEL, "Unknown"); | 673 | return kasprintf(GFP_KERNEL, "Unknown"); |
662 | } | 674 | } |