[PATCH] Fix wrong OMAP_ES_x_y defines that make omap_rev_lt_x_y and friends misbehave

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 620fa271b32f8bdd8f06954c0a2c96af6ed1dc7b Mon Sep 17 00:00:00 2001
From: Tasslehoff Kjappfot <tasskjapp@xxxxxxxxx>
Date: Tue, 14 Jun 2011 12:06:09 +0200
Subject: [PATCH] Fix wrong OMAP_ES_x_y defines that make
omap_rev_lt_x_y and friends misbehave
---
 arch/arm/plat-omap/include/plat/cpu.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/plat-omap/include/plat/cpu.h
b/arch/arm/plat-omap/include/plat/cpu.h
index 7d24faa..ec63575 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -397,10 +397,10 @@ IS_OMAP_TYPE(3517, 0x3517)
  * Silicon revisions
  */
 #define OMAP_ES_1_0 0x00
-#define OMAP_ES_2_0 0x10
-#define OMAP_ES_2_1 0x20
-#define OMAP_ES_3_0 0x30
-#define OMAP_ES_3_1 0x40
+#define OMAP_ES_2_0 0x01
+#define OMAP_ES_2_1 0x02
+#define OMAP_ES_3_0 0x03
+#define OMAP_ES_3_1 0x04

 #define OMAP_REV_MASK 0x0000ff00
 #define OMAP_REV_BITS ((omap_rev() & OMAP_REV_MASK) >> 8)
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux