[U-Boot] [U-BOOT][PATCH] mmc: remove the hard setting for tran_speed
Andy Fleming
afleming at gmail.com
Mon May 7 23:50:53 CEST 2012
On Mon, Apr 2, 2012 at 1:31 PM, Jae hoon Chung <jh80.chung at gmail.com> wrote:
>> if (mmc->card_caps & MMC_MODE_HS) {
>> if (mmc->card_caps & MMC_MODE_HS_52MHz)
>> - mmc_set_clock(mmc, 52000000);
>> + mmc->tran_speed = 52000000;
>> else
>> - mmc_set_clock(mmc, 26000000);
>> - } else
>> - mmc_set_clock(mmc, 20000000);
>> + mmc->tran_speed = 26000000;
>> + }
Why did you remove the outer else clause, here (the one that set the
speed to 20000000)?
More information about the U-Boot
mailing list