[U-Boot] [PATCH] mmc: modified calculated mmc-capacity & set mmc trans_speed
Minkyu Kang
promsoft at gmail.com
Thu Apr 8 14:34:49 CEST 2010
On 8 April 2010 12:36, Jae hoon Chung <jh80.chung at gmail.com> wrote:
> The patches do the following
> 1. If mmc size is more than 2GB , we need to calculated using the
> extended csd register.
> 2. mmc_set_clock() is hard setting, that is not good solution.
>
> If mmc is not MMC_MODE_HS, mmc will set card's trans_speed.
>
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
>
> ---
> drivers/mmc/mmc.c | 13 ++++++++-----
> 1 files changed, 8 insertions(+), 5 deletions(-)
>
I tested it on SMDK board.
It works fine.
Tested-by: Minkyu Kang <mk7.kang at samsung.com>
Thanks
Minkyu Kang
--
from. prom.
www.promsoft.net
More information about the U-Boot
mailing list