Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272544
b: refs/heads/master
c: 9ed2ba7
h: refs/heads/master
v: v3
  • Loading branch information
Paul Walmsley committed Sep 14, 2011
1 parent ab20efa commit f8702b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91d92d6cc86c9390b891a96e12a452a644c3ad76
refs/heads/master: 9ed2ba7aa78ee35dda2cfc9a49b5cd4b2ae88500
10 changes: 9 additions & 1 deletion trunk/arch/arm/mach-omap2/id.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,15 @@ static void __init omap3_check_revision(void)
*
* REVISIT: AM3505/AM3517 should have their own CHIP_IS
*/
omap_revision = OMAP3517_REV(rev);
switch (rev) {
case 0:
omap_revision = OMAP3517_REV_ES1_0;
break;
case 1:
/* FALLTHROUGH */
default:
omap_revision = OMAP3517_REV_ES1_1;
}
omap_chip.oc |= CHIP_IS_OMAP3430ES3_1;
break;
case 0xb891:
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/arm/plat-omap/include/plat/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ IS_OMAP_TYPE(3517, 0x3517)
#define OMAP3630_REV_ES1_2 (OMAP363X_CLASS | (OMAP_REVBITS_02 << 8))

#define OMAP3517_CLASS 0x35170034
#define OMAP3517_REV(v) (OMAP3517_CLASS | (v << 8))
#define OMAP3517_REV_ES1_0 OMAP3517_CLASS
#define OMAP3517_REV_ES1_1 (OMAP3517_CLASS | (OMAP_REVBITS_01 << 8))

#define TI816X_CLASS 0x81600034
#define TI8168_REV_ES1_0 TI816X_CLASS
Expand Down

0 comments on commit f8702b0

Please sign in to comment.