From patchwork Tue Nov 10 04:21:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjith Lohithakshan X-Patchwork-Id: 58948 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAA4LdOx021147 for ; Tue, 10 Nov 2009 04:21:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755594AbZKJEVc (ORCPT ); Mon, 9 Nov 2009 23:21:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755351AbZKJEVc (ORCPT ); Mon, 9 Nov 2009 23:21:32 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:59113 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755303AbZKJEVb (ORCPT ); Mon, 9 Nov 2009 23:21:31 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id nAA4LYfQ028240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Nov 2009 22:21:36 -0600 Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id nAA4LWW6027367; Tue, 10 Nov 2009 09:51:33 +0530 (IST) Received: from psplinux050.india.ti.com (localhost [127.0.0.1]) by psplinux050.india.ti.com (8.13.1/8.13.1) with ESMTP id nAA4LW7Q017299; Tue, 10 Nov 2009 09:51:32 +0530 Received: (from a0876318@localhost) by psplinux050.india.ti.com (8.13.1/8.13.1/Submit) id nAA4LWVB017296; Tue, 10 Nov 2009 09:51:32 +0530 From: Ranjith Lohithakshan To: linux-omap@vger.kernel.org Cc: ranjithl@ti.com Subject: [PATCH] AM35xx: Initialize omap_chip bits Date: Tue, 10 Nov 2009 09:51:32 +0530 Message-Id: <1257826892-17266-1-git-send-email-ranjithl@ti.com> X-Mailer: git-send-email 1.6.2.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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)