Loading arch/arm/mach-omap2/id.c +9 −3 Original line number Original line Diff line number Diff line Loading @@ -529,22 +529,28 @@ void __init omap5xxx_check_revision(void) case 0xb942: case 0xb942: switch (rev) { switch (rev) { case 0: case 0: default: omap_revision = OMAP5430_REV_ES1_0; omap_revision = OMAP5430_REV_ES1_0; break; case 1: default: omap_revision = OMAP5430_REV_ES2_0; } } break; break; case 0xb998: case 0xb998: switch (rev) { switch (rev) { case 0: case 0: default: omap_revision = OMAP5432_REV_ES1_0; omap_revision = OMAP5432_REV_ES1_0; break; case 1: default: omap_revision = OMAP5432_REV_ES2_0; } } break; break; default: default: /* Unknown default to latest silicon rev as default*/ /* Unknown default to latest silicon rev as default*/ omap_revision = OMAP5430_REV_ES1_0; omap_revision = OMAP5430_REV_ES2_0; } } pr_info("OMAP%04x ES%d.0\n", pr_info("OMAP%04x ES%d.0\n", Loading arch/arm/mach-omap2/soc.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -413,7 +413,9 @@ IS_OMAP_TYPE(3430, 0x3430) #define OMAP54XX_CLASS 0x54000054 #define OMAP54XX_CLASS 0x54000054 #define OMAP5430_REV_ES1_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x10 << 8)) #define OMAP5430_REV_ES1_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x10 << 8)) #define OMAP5430_REV_ES2_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x20 << 8)) #define OMAP5432_REV_ES1_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x10 << 8)) #define OMAP5432_REV_ES1_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x10 << 8)) #define OMAP5432_REV_ES2_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x20 << 8)) void omap2xxx_check_revision(void); void omap2xxx_check_revision(void); void omap3xxx_check_revision(void); void omap3xxx_check_revision(void); Loading Loading
arch/arm/mach-omap2/id.c +9 −3 Original line number Original line Diff line number Diff line Loading @@ -529,22 +529,28 @@ void __init omap5xxx_check_revision(void) case 0xb942: case 0xb942: switch (rev) { switch (rev) { case 0: case 0: default: omap_revision = OMAP5430_REV_ES1_0; omap_revision = OMAP5430_REV_ES1_0; break; case 1: default: omap_revision = OMAP5430_REV_ES2_0; } } break; break; case 0xb998: case 0xb998: switch (rev) { switch (rev) { case 0: case 0: default: omap_revision = OMAP5432_REV_ES1_0; omap_revision = OMAP5432_REV_ES1_0; break; case 1: default: omap_revision = OMAP5432_REV_ES2_0; } } break; break; default: default: /* Unknown default to latest silicon rev as default*/ /* Unknown default to latest silicon rev as default*/ omap_revision = OMAP5430_REV_ES1_0; omap_revision = OMAP5430_REV_ES2_0; } } pr_info("OMAP%04x ES%d.0\n", pr_info("OMAP%04x ES%d.0\n", Loading
arch/arm/mach-omap2/soc.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -413,7 +413,9 @@ IS_OMAP_TYPE(3430, 0x3430) #define OMAP54XX_CLASS 0x54000054 #define OMAP54XX_CLASS 0x54000054 #define OMAP5430_REV_ES1_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x10 << 8)) #define OMAP5430_REV_ES1_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x10 << 8)) #define OMAP5430_REV_ES2_0 (OMAP54XX_CLASS | (0x30 << 16) | (0x20 << 8)) #define OMAP5432_REV_ES1_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x10 << 8)) #define OMAP5432_REV_ES1_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x10 << 8)) #define OMAP5432_REV_ES2_0 (OMAP54XX_CLASS | (0x32 << 16) | (0x20 << 8)) void omap2xxx_check_revision(void); void omap2xxx_check_revision(void); void omap3xxx_check_revision(void); void omap3xxx_check_revision(void); Loading