From patchwork Thu Mar 26 13:58:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Jokiniemi X-Patchwork-Id: 14546 X-Patchwork-Delegate: khilman@deeprootsystems.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 n2QEG73w025495 for ; Thu, 26 Mar 2009 14:16:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754733AbZCZOQG (ORCPT ); Thu, 26 Mar 2009 10:16:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755343AbZCZOQG (ORCPT ); Thu, 26 Mar 2009 10:16:06 -0400 Received: from smtp1.digia.com ([82.118.214.156]:7710 "EHLO smtp1.digia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754733AbZCZOQE (ORCPT ); Thu, 26 Mar 2009 10:16:04 -0400 Received: from smtp1.digia.com (unknown [127.0.0.1]) by IMSA (Postfix) with ESMTP id 97FD5478067; Thu, 26 Mar 2009 15:58:59 +0200 (EET) Received: from IT-EXCH01-HKI.it.local (unknown [10.9.52.54]) by smtp1.digia.com (Postfix) with ESMTP id 8BF10478066; Thu, 26 Mar 2009 15:58:59 +0200 (EET) Received: from localhost.localdomain (10.120.146.225) by IT-EXCH01-HKI.it.local (10.9.52.56) with Microsoft SMTP Server id 8.1.340.0; Thu, 26 Mar 2009 15:58:58 +0200 From: Kalle Jokiniemi To: CC: , Kalle Jokiniemi Subject: [PATCH 1/3] ARM:OMAP3: Enable SDRC workaround for ES3.1 Date: Thu, 26 Mar 2009 15:58:59 +0200 Message-ID: <1238075941-24931-2-git-send-email-kalle.jokiniemi@digia.com> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <1238075941-24931-1-git-send-email-kalle.jokiniemi@digia.com> References: <> <1238075941-24931-1-git-send-email-kalle.jokiniemi@digia.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-7.0.0.1085-5.6.0.1016-16542.007 X-TM-AS-Result: No-2.226-8.5-31-1 X-imss-scan-details: No-2.226-8.5-31-1 X-TM-AS-User-Approved-Sender: No Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Enable a workaround to manually restart the SDRC auto-refresh after wake-up from off mode also on ES3.1 silicon revision chips. Signed-off-by: Kalle Jokiniemi --- arch/arm/mach-omap2/control.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index 31284c6..a0429fe 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c @@ -209,7 +209,8 @@ void omap3_save_scratchpad_contents(void) /* Populate the Scratchpad contents */ scratchpad_contents.boot_config_ptr = 0x0; - if (omap_rev() != OMAP3430_REV_ES3_0) + if (omap_rev() != OMAP3430_REV_ES3_0 && + omap_rev() != OMAP3430_REV_ES3_1) scratchpad_contents.public_restore_ptr = virt_to_phys(get_restore_pointer()); else