From: Rini van Zetten <rini@arvoo.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] Subject: [PATCH] ppc/83xx Use CONFIG_FSL_ESDHC to enable sdhc clk
Date: Wed, 07 Apr 2010 11:37:06 +0200 [thread overview]
Message-ID: <4BBC5242.8070104@arvoo.nl> (raw)
Enable eSDHC Clock based on generic CONFIG_FSL_ESDHC define instead of a platform define.
This will enable all the 83xx platforms to use sdhc_clk based on CONFIG_FSL_ESDHC.
It's the same patch as commit 6b9ea08c5010eab5ad1056bc9bf033afb672d9cc for the ppc/85xx
Signed-off-by: Rini <rini@arvoo.nl>
---
cpu/mpc83xx/speed.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpu/mpc83xx/speed.c b/cpu/mpc83xx/speed.c
index bde7e92..346c391 100644
--- a/cpu/mpc83xx/speed.c
+++ b/cpu/mpc83xx/speed.c
@@ -455,7 +455,7 @@ int get_clocks(void)
#if defined(CONFIG_MPC8315)
gd->tdm_clk = tdm_clk;
#endif
-#if defined(CONFIG_MPC837x)
+#if defined(CONFIG_FSL_ESDHC)
gd->sdhc_clk = sdhc_clk;
#endif
gd->core_clk = core_clk;
@@ -522,7 +522,7 @@ int do_clocks (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
#if defined(CONFIG_MPC8315)
printf(" TDM: %-4s MHz\n", strmhz(buf, gd->tdm_clk));
#endif
-#if defined(CONFIG_MPC837x)
+#if defined(CONFIG_FSL_ESDHC)
printf(" SDHC: %-4s MHz\n", strmhz(buf, gd->sdhc_clk));
#endif
#if defined(CONFIG_MPC834x) || defined(CONFIG_MPC831x) || defined(CONFIG_MPC837x)
--
1.6.3.3
next reply other threads:[~2010-04-07 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-07 9:37 Rini van Zetten [this message]
2010-04-07 13:06 ` [U-Boot] Subject: [PATCH] ppc/83xx Use CONFIG_FSL_ESDHC to enable sdhc clk Kumar Gala
2010-04-07 13:24 ` Rini van Zetten
2010-04-07 13:32 ` [U-Boot] [PATCH v2] " Rini van Zetten
2010-04-14 2:06 ` Kim Phillips
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=4BBC5242.8070104@arvoo.nl \
--to=rini@arvoo.nl \
--cc=u-boot@lists.denx.de \
/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