[U-Boot] [PATCH 5/5] mmc: all hosts support 1-bit bus width and legacy timings

Jean-Jacques Hiblot jjhiblot at ti.com
Mon Nov 27 08:47:47 UTC 2017



On 24/11/2017 23:36, Simon Glass wrote:
> Hi Jean-Jacques,
>
> On 21 November 2017 at 08:13, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>> Make sure that those basic capabilities are advertised by the host.
>>
>> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
>> ---
>>   drivers/mmc/mmc.c | 15 ++++++++++-----
>>   1 file changed, 10 insertions(+), 5 deletions(-)
>>
> Your patch seems to suggest that the hardware is advertising the wrong
> thing. Is that right?
Yes and no....
1-bit, MMC legacy and SD legacy are capabilities that I introduced for 
consistency. IMO It makes the code easier. But they are not optional 
capabilities, all host can handle them.
Instead of converting all existing driver to explicitly advertise them, 
it's easier ans safer to just add those basic capabilities in the core.
JJ

>
> Regards,
> Simon
>



More information about the U-Boot mailing list