From patchwork Wed Jan 20 22:39:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 74138 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0KMcHWu020120 for ; Wed, 20 Jan 2010 22:38:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754214Ab0ATWiQ (ORCPT ); Wed, 20 Jan 2010 17:38:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751721Ab0ATWiP (ORCPT ); Wed, 20 Jan 2010 17:38:15 -0500 Received: from lixom.net ([66.141.50.11]:51379 "EHLO mail.lixom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752933Ab0ATWiO (ORCPT ); Wed, 20 Jan 2010 17:38:14 -0500 Received: by mail.lixom.net (Postfix, from userid 999) id 85B3BBA45A; Wed, 20 Jan 2010 16:39:29 -0600 (CST) Date: Wed, 20 Jan 2010 16:39:29 -0600 From: Olof Johansson To: tony@atomide.com Cc: linux-omap@vger.kernel.org Subject: [PATCH] omap: Enable GPMC clock in gpmc_init Message-ID: <20100120223929.GA10739@lixom.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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/gpmc.c b/arch/arm/mach-omap2/gpmc.c index e86f5ca..dea72f3 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c @@ -534,6 +534,8 @@ void __init gpmc_init(void) BUG(); } + clk_enable(gpmc_l3_clk); + l = gpmc_read_reg(GPMC_REVISION); printk(KERN_INFO "GPMC revision %d.%d\n", (l >> 4) & 0x0f, l & 0x0f); /* Set smart idle mode and automatic L3 clock gating */