[U-Boot] [PATCH 20/44] dm: mmc: Add an implementation of the 'devnum' functions

Stephen Warren swarren at wwwdotorg.org
Tue Apr 12 22:40:34 CEST 2016


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..


More information about the U-Boot mailing list