diff mbox

AM35xx: Initialize omap_chip bits

Message ID 1257826892-17266-1-git-send-email-ranjithl@ti.com (mailing list archive)
State Accepted
Commit be8f758c7ea40290790af0514632c00389f9f1a8
Delegated to: Tony Lindgren
Headers show

Commit Message

Ranjith Lohithakshan Nov. 10, 2009, 4:21 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index f77dba1..5396785 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -372,6 +372,8 @@  void __init omap2_check_revision(void)
 	} else if (cpu_is_omap242x()) {
 		/* Currently only supports 2420ES2.1.1 and 2420-all */
 		omap_chip.oc |= CHIP_IS_OMAP2420;
+	} else if (cpu_is_omap3505() || cpu_is_omap3517()) {
+		omap_chip.oc = CHIP_IS_OMAP3430 | CHIP_IS_OMAP3430ES3_1;
 	} else if (cpu_is_omap343x()) {
 		omap_chip.oc = CHIP_IS_OMAP3430;
 		if (omap_rev() == OMAP3430_REV_ES1_0)