public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] fsl_esdhc: Add no-snoop config for default init
Date: Sun, 12 Aug 2012 15:52:00 +0200 (CEST)	[thread overview]
Message-ID: <245169023.2323978.1344779520283.JavaMail.root@advansee.com> (raw)
In-Reply-To: <50274C60.3000208@denx.de>

Hi Stefano,

On 08/12/2012 8:25, Stefano Babic wrote:
> On 11/08/2012 19:59, Beno?t Th?baudeau wrote:
> 
> Hi Beno?t,
> 
> > That could be a solution. However, that would have to be done for
> > i.MX25 and
> > i.MX35 too (I have patches to add/fix eSDHC support for these that
> > I will post
> > shortly), which means more duplicated code that should rather be
> > centralized
> > somewhere.
> 
> can I ask you which kind of problems you have seen on a i.MX35 ? I
> was
> curious after your e-amil and I enabled the FSL_ESDHC driver on a
> mx35pdk - it seems working out of the box, I have not changed the
> driver.

Yes, it's not a big deal. The driver itself is fine. The issues are clock and
init issues in the mx25- and mx35-specific files (clock.c, generic.c and the
associated headers I think). I don't remember precisely what applied to mx25
and/or mx35, but what I fixed is:
 - init code referring to mxc mmc instead of fsl esdhc,
 - wrong handling of the cpu_mmc_init return value in some cases,
 - wrong source clock reported to the fsl_esdhc driver (not the eSDHC clock, and
not making any difference between the clocks of the various eSDHC instances), so
that if it works it's only by chance, and the actual SD clock will likely be
different from what mmcinfo reports, depending on the selected board clock
dividers.

Best regards,
Beno?t

      reply	other threads:[~2012-08-12 13:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10 21:13 [U-Boot] [PATCH] fsl_esdhc: Add no-snoop config for default init Benoît Thébaudeau
2012-08-11 10:43 ` Stefano Babic
2012-08-11 14:39   ` Benoît Thébaudeau
2012-08-11 17:25     ` Stefano Babic
2012-08-11 17:59       ` Benoît Thébaudeau
2012-08-11 21:57         ` stefano babic
2012-08-13 14:18           ` [U-Boot] [PATCH 1/2] imx: Define architecture identifier Benoît Thébaudeau
2012-08-13 14:18             ` [U-Boot] [PATCH 2/2] fsl_esdhc: Remove cache snooping for i.MX Benoît Thébaudeau
2012-08-13 14:24               ` Stefano Babic
2012-08-13 14:39                 ` Benoît Thébaudeau
2012-08-13 15:16                   ` Stefano Babic
2012-08-13 15:53                     ` [U-Boot] [PATCH v2 " Benoît Thébaudeau
2012-08-13 17:28                       ` [U-Boot] [PATCH v3 " Benoît Thébaudeau
2012-08-13 16:32             ` [U-Boot] [PATCH 1/2] imx: Define architecture identifier Otavio Salvador
2012-08-13 17:27               ` [U-Boot] [PATCH v3 1/2] mxc: " Benoît Thébaudeau
2012-09-01  7:35                 ` Stefano Babic
2012-08-12  6:25         ` [U-Boot] [PATCH] fsl_esdhc: Add no-snoop config for default init Stefano Babic
2012-08-12 13:52           ` Benoît Thébaudeau [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=245169023.2323978.1344779520283.JavaMail.root@advansee.com \
    --to=benoit.thebaudeau@advansee.com \
    --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