[U-Boot] [PATCH 20/44] dm: mmc: Add an implementation of the 'devnum' functions
Simon Glass
sjg at chromium.org
Sun May 1 20:56:41 CEST 2016
Hi Stephen,
On 12 April 2016 at 14:40, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> Now that the MMC code accesses devices by number, we can implement this
>> same
>> interface for driver model, allowing MMC to support using driver model for
>> block devices.
>>
>> Add the required functions to the uclass.
>
>
>> +int blk_list_part(enum if_type if_type)
>
>
> I have the same comment for this function as the earlier similar function,
> although given the function signature here it does seem obvious that it's
> really meant to list partitions on multiple devices. How does the user
> invoke that from the command-line? Hmm, it looks like "ide part" works
> differently (prints for all devices) than "part list" (which works on a
> single user-specified device); odd..
For example 'scsi part'.
It will be easier to keep things the same when we don't have separate
implementations for each interface type.
Regards,
Simon
More information about the U-Boot
mailing list