Re: MMC: Make the configuration memory resource optional

Ian Molton
2009-08-05T13:34:18Z

Hi all,

Could all non-MFD users of tmio-mmc please ensure that the following is
actually true on your hardware?

mmc->f_max = pdata->hclk;
mmc->f_min = mmc->f_max / 512;

According to all the data I have, the smallest divider setting of 0x100
is /2 and only MFD controllers with the CNF area can select no-divider mode.

this would mean that non-MFD chips should be doing:

mmc->f_max = pdata->hclk / 2;
mmc->f_min = pdata->hclk / 512;