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

Commit 4a2ed4c0 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tony Lindgren
Browse files

ARM: OMAP2+: AM43x: Add ID for ES1.1



Adding ID for AM437x ES1.1 silicon.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1ba194fe
Loading
Loading
Loading
Loading
+12 −2
Original line number Original line Diff line number Diff line
@@ -465,9 +465,19 @@ void __init omap3xxx_check_revision(void)
		}
		}
		break;
		break;
	case 0xb98c:
	case 0xb98c:
		switch (rev) {
		case 0:
			omap_revision = AM437X_REV_ES1_0;
			omap_revision = AM437X_REV_ES1_0;
			cpu_rev = "1.0";
			cpu_rev = "1.0";
			break;
			break;
		case 1:
		/* FALLTHROUGH */
		default:
			omap_revision = AM437X_REV_ES1_1;
			cpu_rev = "1.1";
			break;
		}
		break;
	case 0xb8f2:
	case 0xb8f2:
		switch (rev) {
		switch (rev) {
		case 0:
		case 0:
+2 −1
Original line number Original line Diff line number Diff line
@@ -438,7 +438,8 @@ IS_OMAP_TYPE(3430, 0x3430)
#define AM335X_REV_ES2_1	(AM335X_CLASS | (0x2 << 8))
#define AM335X_REV_ES2_1	(AM335X_CLASS | (0x2 << 8))


#define AM437X_CLASS		0x43700000
#define AM437X_CLASS		0x43700000
#define AM437X_REV_ES1_0	AM437X_CLASS
#define AM437X_REV_ES1_0	(AM437X_CLASS | (0x10 << 8))
#define AM437X_REV_ES1_1	(AM437X_CLASS | (0x11 << 8))


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