From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4 10/11] fsl_esdhc: add support for mx51 processor
Date: Mon, 01 Mar 2010 10:04:39 +0100 [thread overview]
Message-ID: <4B8B8327.1080301@denx.de> (raw)
In-Reply-To: <1AE74F652ECB1440B73DD7C2C20842D1AC6D77@zch01exm27.fsl.freescale.net>
Lv Terry-R65388 wrote:
> Hi Stefano,
>
Hi Terry,
> Have you tested mmc on mx51 board?
Yes, of course. The whole patchset for mx51evk was tested on two
different releases of the board, with respectively a TO2 and a TO3
processor.
And the driver was tested with both MMC slots on the mx51evk (both are
supported):
For example, on a release 3.0 board:
U-Boot 2009.11-00347-g0b1898d (Feb 24 2010 - 11:30:10)
CPU: Freescale i.MX51 family 3.0V at 800 MHz
Board: MX51EVK 3.0 [POR]
I get:
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
MX51EVK U-Boot > mmcinfo
Device: FSL_ESDHC
Manufacturer ID: 1
OEM: 5041
Name: SP02G
Tran Speed: 25000000
Rd Block Len: 512
SD version 1.10
High Capacity: No
Capacity: 2014838784
Bus Width: 4-bit
MX51EVK U-Boot > fatls mmc 0
14154 6091733.pdf
Of course, I have tested booting Linux that is stored on MMC, too.
> The original esdhc uses PIO mode in function esdhc_send_cmd(), while
> fsl_esdhc uses DMA mode.
I do not understand what you mean. I have not changed the type in
esdhc_xfertyp in my patch, it was already set to XFERTYP_DMAEN. The main
changes are related to set the correct accessors functions and these are
the only changes in esdhc_send_cmd().
>
> I hasn't tested DMA mode before.
Have you tested this patch and have you found some issues ?
> BTW: have you considered add the feature to save environment data to
> mmc?
Adding the environment to the MMC is a feature that should be
implemented in a separate patch, because it is not strictly related to
the mx51evk. If it works, it must be possible to use it with all targets
having a MMC on board.
And I didn't want to add so much features before the patchset goes to
the mainline. I prefer that at least the basic support for a MX51
processor is in the mainline, allowing for others to add easier custom
boards with this SOC.
I think that such feature should be previously discussed on the ML.
On one side, it looks strange that the environment resides on a
removable media. On the other side, I understand that for test purposes
or for boards without other storage media this is a way to store it.
Regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2010-03-01 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 17:22 [U-Boot] [PATCH V3 10/11] fsl_esdhc: add support for mx51 processor Stefano Babic
2010-02-05 14:11 ` [U-Boot] [PATCH V4 " Stefano Babic
2010-03-01 6:48 ` Lv Terry-R65388
2010-03-01 9:04 ` Stefano Babic [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-01-26 13:44 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=4B8B8327.1080301@denx.de \
--to=sbabic@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.