]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ums: allows using every mmc device with ums.
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 23 Oct 2013 12:30:43 +0000 (14:30 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 8 Nov 2013 19:46:19 +0000 (20:46 +0100)
commitf4dacf7b95e9f7d4246db00facdbe366b5c30a5a
tree4e59decec693120ac20762b5d77ef789bd756f62
parent93c813b3ac4b23df891992f93252c59231dec388
usb: ums: allows using every mmc device with ums.

Before this change ums command only allowed use of mmc 0.
Now this argument can be set.

Changes:
- remove mmc device number checking because it is always positive number
- remove printing "no such device" - it is done by find_mmc_device()

Change-Id: I767e45151ad515c7bef19e6c13087374f5e23c11
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Marek Vasut <marex@denx.de>
common/cmd_usb_mass_storage.c