[U-Boot] [PATCH v5 06/12] ums: always initialize mmc before ums_disk_init()

Stephen Warren swarren at wwwdotorg.org
Thu May 1 22:03:00 CEST 2014


On 04/28/2014 01:13 PM, Mateusz Zalega wrote:
> In cases when MMC hadn't been initialized before, ie. by the user or other
> subsystem, it was still uninitialized while UMS media capacity check,
> leading to broken ums command.
> 
> UMS has to initialize resources it uses.

It's probably better to just switch from find_mmc_device() to
get_device(), which does the initialization internally. patch "ums: use
get_device() not find_mmc_device()" does this.

http://patchwork.ozlabs.org/patch/344328/

That said, at this point, it's probably simplest to just apply this
series, and I'll rebase my series on top of this in a day or two.


More information about the U-Boot mailing list