On 04/30/2014 03:13 PM, Stephen Warren wrote: > From: Stephen Warren <swar...@nvidia.com> > > There's no reason to believe that an MMC device will incorrectly report > its capacity. Remove error checking of this value from ums_disk_init() > to simplify it.
Hmm. I guess this check might trigger if you tried to export an SD card slot over UMS, yet there was no SD card present. Still, patch 6/8 in this series resolves this, since at least for MMC devices, get_device() calls mmc_init() internally, and hence returns an error in this case. This is more direct that checking the device size. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot