[U-Boot] [PATCH v5] mmc: add generic mmc spi driver

Thomas Chou
2010-04-30T00:16:08Z

On 04/30/2010 03:07 AM, Mike Frysinger wrote:
> On Thursday 29 April 2010 10:51:03 Thomas Chou wrote:
>
>> 2. Andy suggested to create a new mmc_spi device for each bus and cs.
>>
> this is what i was suggesting from the start ... sorry if i wasnt clear
> -mike
>
Hi Mike,

Thank you anyway.

Hi Andy,

I will change the command like this,

1. if no args given, show the bus and cs of existing mmc_spi devices.
2. with args given, check for duplicated bus and cs from existing
devices, then create a new device.

I will need to move the spurious printing of "MMC Device %d not found\n"
out from find_mmc_device() of mmc.c .

Best regards,
Thomas