public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Walmsley <paul@pwsan.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH 5/7] gpmc: fix GPMC code to boot on 3430
Date: Thu, 27 Sep 2007 00:11:24 -0600	[thread overview]
Message-ID: <20070927061257.010537810@pwsan.com> (raw)
In-Reply-To: 20070927061119.551228401@pwsan.com

[-- Attachment #1: fix_gpmc_for_3430_clock.patch --]
[-- Type: text/plain, Size: 763 bytes --]

The GPMC clock name in OMAP3430 is gpmc_fck.

Signed-off-by: Paul Walmsley <paul@pwsan.com>

---
 arch/arm/mach-omap2/gpmc.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Index: linux-omap/arch/arm/mach-omap2/gpmc.c
===================================================================
--- linux-omap.orig/arch/arm/mach-omap2/gpmc.c	2007-09-18 23:44:07.000000000 -0600
+++ linux-omap/arch/arm/mach-omap2/gpmc.c	2007-09-18 23:51:18.000000000 -0600
@@ -395,7 +395,11 @@
 {
 	u32 l;
 
-	gpmc_l3_clk = clk_get(NULL, "core_l3_ck");
+	if (cpu_is_omap24xx())
+		gpmc_l3_clk = clk_get(NULL, "core_l3_ck");
+	else if (cpu_is_omap34xx())
+		gpmc_l3_clk = clk_get(NULL, "gpmc_fck");
+
 	BUG_ON(IS_ERR(gpmc_l3_clk));
 
 	l = gpmc_read_reg(GPMC_REVISION);

-- 

  parent reply	other threads:[~2007-09-27  6:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27  6:11 [PATCH 0/7] OMAP3 clock patches: first set (take two) Paul Walmsley
2007-09-27  6:11 ` [PATCH 1/7] omap2 arch: fix CONTROL_DEVCONF addresses for OMAP3430 Paul Walmsley
2007-09-27  6:11 ` [PATCH 2/7] omap2 clock: split out OMAP2/3 common defines, clksel rates Paul Walmsley
2007-09-27  6:11 ` [PATCH 3/7] omap2 clock: add support for inverted enable bits Paul Walmsley
2007-09-27  6:11 ` [PATCH 4/7] omap2 clock: add OMAP3430 clock definitions, basic code Paul Walmsley
2007-09-27  6:11 ` Paul Walmsley [this message]
2007-09-27  6:11 ` [PATCH 6/7] dmtimer: fix source clocks for 3430 Paul Walmsley
2007-09-27  6:11 ` [PATCH 7/7] gpio: fix GPIO clock code " Paul Walmsley
2007-09-28 23:14 ` [PATCH 0/7] OMAP3 clock patches: first set (take two) Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2007-09-19 21:09 [PATCH 0/7] OMAP3 clock patches: first set Paul Walmsley
2007-09-19 21:10 ` [PATCH 5/7] gpmc: fix GPMC code to boot on 3430 Paul Walmsley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070927061257.010537810@pwsan.com \
    --to=paul@pwsan.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox