From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] mci i.MX esdhc: Fix clock divider calculation
Date: Wed, 22 May 2013 09:46:21 +0200 [thread overview]
Message-ID: <20130522074621.GA29850@pengutronix.de> (raw)
In-Reply-To: <20130521192708.GV32299@pengutronix.de>
On Tue, May 21, 2013 at 09:27:08PM +0200, Sascha Hauer wrote:
> On Tue, May 21, 2013 at 12:29:20PM +0200, Steffen Trumtrar wrote:
> > From: Sascha Hauer <s.hauer@pengutronix.de>
> >
> > This updates the i.MX esdhc divider settings to FSLs U-Boot.
> > Current timings work fine for SD cards, but not for eMMC.
> > Although the calculation is fine according to the datasheet and reading from
> > eMMC works, writing is broken. Atleast on i.MX53/tqma53.
> > With this patch the result is the same, but uses different divider values to
> > achieve it.
> >
> > While at it, replace the udelay with a busy-loop.
> >
> > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> > ---
> > drivers/mci/imx-esdhc.c | 46 +++++++++++++++++++++++++++-------------------
> > drivers/mci/imx-esdhc.h | 1 +
> > 2 files changed, 28 insertions(+), 19 deletions(-)
>
> Could you rebase this one on -next?
>
> Sascha
>
Sure. Will resend in a second.
Steffen
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2013-05-22 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 10:29 Steffen Trumtrar
2013-05-21 19:27 ` Sascha Hauer
2013-05-22 7:46 ` Steffen Trumtrar [this message]
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=20130522074621.GA29850@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.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