mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 08/10] i.MX27: Add mmc clock support in order to add an i.MX MCI driver
Date: Fri,  8 Oct 2010 18:30:56 +0200	[thread overview]
Message-ID: <1286555458-20125-9-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1286555458-20125-1-git-send-email-jbe@pengutronix.de>

From: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Juergen Beisert <jbe@pengutronix.de>
---
 arch/arm/mach-imx/include/mach/clock.h |    1 +
 arch/arm/mach-imx/speed-imx27.c        |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/clock.h b/arch/arm/mach-imx/include/mach/clock.h
index 76ab4a5..bbe7a60 100644
--- a/arch/arm/mach-imx/include/mach/clock.h
+++ b/arch/arm/mach-imx/include/mach/clock.h
@@ -28,6 +28,7 @@ ulong imx_get_gptclk(void);
 ulong imx_get_uartclk(void);
 ulong imx_get_lcdclk(void);
 ulong imx_get_i2cclk(void);
+ulong imx_get_mmcclk(void);
 
 int imx_clko_set_div(int div);
 void imx_clko_set_src(int src);
diff --git a/arch/arm/mach-imx/speed-imx27.c b/arch/arm/mach-imx/speed-imx27.c
index cdcd419..0a92d29 100644
--- a/arch/arm/mach-imx/speed-imx27.c
+++ b/arch/arm/mach-imx/speed-imx27.c
@@ -159,6 +159,11 @@ ulong imx_get_i2cclk(void)
 	return imx_get_ipgclk();
 }
 
+ulong imx_get_mmcclk(void)
+{
+	return imx_get_perclk2();
+}
+
 void imx_dump_clocks(void)
 {
 	uint32_t	cid = CID;
-- 
1.7.2.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2010-10-08 16:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08 16:30 [PATCH v2] Add MCI card support to barebox Juergen Beisert
2010-10-08 16:30 ` [PATCH 01/10] x-functions do not return in case of failure Juergen Beisert
2010-10-08 16:30 ` [PATCH 02/10] Make the disk driver less noisy Juergen Beisert
2010-10-08 16:30 ` [PATCH 03/10] Don't use a sector buffer on stack Juergen Beisert
2010-10-08 16:30 ` [PATCH 04/10] Don't try to guess the size of a disk if its size value is already given Juergen Beisert
2010-10-08 16:30 ` [PATCH 05/10] Add MCI card support to barebox Juergen Beisert
2010-10-08 16:30 ` [PATCH 06/10] Add i.MX23 MCI card support Juergen Beisert
2010-10-08 16:30 ` [PATCH 07/10] Add S3C2440 " Juergen Beisert
2010-10-08 16:30 ` Juergen Beisert [this message]
2010-10-08 16:30 ` [PATCH 09/10] mci: Add i.MX27/31 driver Juergen Beisert
2010-10-08 16:30 ` [PATCH 10/10] ARM pca100: Add mci support Juergen Beisert

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=1286555458-20125-9-git-send-email-jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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