Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 187e688d authored by Tony Lindgren's avatar Tony Lindgren
Browse files

ARM: OMAP: Fix omap34xx revision detection for ES3.1



Fix omap34xx revision detection for ES3.1

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>

parent a92fda19
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -172,9 +172,13 @@ void __init omap34xx_check_revision(void)
			omap_revision = OMAP3430_REV_ES3_0;
			rev_name = "ES3.0";
			break;
		case 4:
			omap_revision = OMAP3430_REV_ES3_1;
			rev_name = "ES3.1";
			break;
		default:
			/* Use the latest known revision as default */
			omap_revision = OMAP3430_REV_ES3_0;
			omap_revision = OMAP3430_REV_ES3_1;
			rev_name = "Unknown revision\n";
		}
	}
+1 −0
Original line number Diff line number Diff line
@@ -339,6 +339,7 @@ IS_OMAP_TYPE(3430, 0x3430)
#define OMAP3430_REV_ES2_0	0x34301034
#define OMAP3430_REV_ES2_1	0x34302034
#define OMAP3430_REV_ES3_0	0x34303034
#define OMAP3430_REV_ES3_1	0x34304034

/*
 * omap_chip bits