public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@de.bosch.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fsl_esdhc.c: eMMC 4.4 support?
Date: Fri, 24 Feb 2012 08:20:11 +0100	[thread overview]
Message-ID: <4F473A2B.8050308@de.bosch.com> (raw)
In-Reply-To: <CAKWjMd7Sr7NQ35vsrcFf_JW-aw0Tb-4up3RDEFxDxVvK2tCR0w@mail.gmail.com>

On 23.02.2012 22:45, Andy Fleming wrote:
> Yes, that's very annoying. Of course, Freescale *does* use fsl_esdhc,
> but for Power Architecture. I know that changes were submitted to
> support i.MX on fsl_esdhc, too, so I don't know why they've opted to
> use their own file in that tree. Hopefully they can be convinced to
> add support to mainline.

I'm not sure if they can be convinced :(

Anyway, what would be the preferred way to improve the xxx_esdhc in 
mainline U-Boot?

Both, the Freescale U-Boot [1] and Barebox [2] have a imx-esdhc.c. With 
this, the options I see for mainline U-Boot are

a) to port the Freescale/Barebox imx-esdhc.c changes/improvements into 
U-Boot's fsl_esdhc.c

or

b) create a new imx-esdhc.c in U-Boot, too.

?

Best regards

Dirk

[1] 
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/drivers/mmc?h=imx_v2009.08&id=1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4

[2] 
http://git.pengutronix.de/?p=barebox.git;a=tree;f=drivers/mci;h=5fc0778b7fafc6f45fa727eaae21ff3908c18730;hb=HEAD

> On Thu, Feb 23, 2012 at 6:25 AM, Dirk Behme <dirk.behme@de.bosch.com> wrote:
>> With the two commits
>>
>> http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/?h=imx_v2009.08&id=1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4
>>
>> http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/?h=imx_v2009.08&id=82102d3fdeae0dcd79d9b3ab7daa96bebd5ad290
>>
>> the old Freescale U-Boot has eMMC 4.4 support.
>>
>> Our mainline drivers/mmc/fsl_esdhc.c doesn't seem to support this.
>>
>> Does anybody work on porting this to the mainline fsl_esdhc.c? Or any other
>> pointers which might help?
>>
>> Unfortunately, Freescale doesn't use the fsl_esdhc.c. They put their own
>>  imx_esdhc.c in parallel. This does make porting even harder :(
>>
>> Many thanks and best regards

  reply	other threads:[~2012-02-24  7:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23 12:25 [U-Boot] fsl_esdhc.c: eMMC 4.4 support? Dirk Behme
2012-02-23 21:45 ` Andy Fleming
2012-02-24  7:20   ` Dirk Behme [this message]
2012-02-24  9:57     ` stefano babic

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=4F473A2B.8050308@de.bosch.com \
    --to=dirk.behme@de.bosch.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