Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359817
b: refs/heads/master
c: 5af044f
h: refs/heads/master
i:
  359815: d4c5aa1
v: v3
  • Loading branch information
AnilKumar Ch authored and Tony Lindgren committed Feb 1, 2013
1 parent 49e8a7e commit 795c60f
Show file tree
Hide file tree
Showing 3 changed files with 14 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: 8f0de0d62f29e47f5142737dad7561f108f69e92
refs/heads/master: 5af044f472501c8e9bd6bb274fb3d71d07a038cd
14 changes: 12 additions & 2 deletions trunk/arch/arm/mach-omap2/id.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,18 @@ void __init omap3xxx_check_revision(void)
}
break;
case 0xb944:
omap_revision = AM335X_REV_ES1_0;
cpu_rev = "1.0";
switch (rev) {
case 0:
omap_revision = AM335X_REV_ES1_0;
cpu_rev = "1.0";
break;
case 1:
/* FALLTHROUGH */
default:
omap_revision = AM335X_REV_ES2_0;
cpu_rev = "2.0";
break;
}
break;
case 0xb8f2:
switch (rev) {
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap2/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ IS_OMAP_TYPE(3430, 0x3430)

#define AM335X_CLASS 0x33500033
#define AM335X_REV_ES1_0 AM335X_CLASS
#define AM335X_REV_ES2_0 (AM335X_CLASS | (0x1 << 8))

#define OMAP443X_CLASS 0x44300044
#define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8))
Expand Down

0 comments on commit 795c60f

Please sign in to comment.