Skip to contentSkip to conversation

OMAP3: id code detection 3525 vs 3515

PATCH New Sanjeev Premi 2 participants 2 messages Nov 23, 2009 – Dec 4, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP3: id code detection 3525 vs 3515

From: Sergey Lapin <[email protected]>

The runtime detection of OMAP3515 and OMAP3525
was reversed.

---
 arch/arm/mach-omap2/id.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/id.c +2 -2
index f48a4b2..4fad192 100644
@@ -277,10 +277,10 @@ void __init omap3_cpuinfo(void)
 	} else if (omap3_has_iva() && omap3_has_sgx()) {
 		/* OMAP3430, OMAP3525, OMAP3515, OMAP3503 devices */
 		strcpy(cpu_name, "OMAP3430/3530");
-	} else if (omap3_has_sgx()) {
+	} else if (omap3_has_iva()) {
 		omap_revision = OMAP3525_REV(rev);
 		strcpy(cpu_name, "OMAP3525");
-	} else if (omap3_has_iva()) {
+	} else if (omap3_has_sgx()) {
 		omap_revision = OMAP3515_REV(rev);
 		strcpy(cpu_name, "OMAP3515");
 	} else {
Signature · 1 line
1.6.2.2
maintainer
#1 lore raw

PATCH 1/1 OMAP3: id code detection 3525 vs 3515

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next-vol2

Initial commit ID (Likely to change): a216a2003b1822b3262510b575d65994013ece58

PatchWorks
http://patchwork.kernel.org/patch/62207/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=a216a2003b1822b3262510b575d65994013ece58