[U-Boot] mmc: don't allow extra cmdline arguments

Tom Rini trini at ti.com
Wed Apr 3 17:29:31 CEST 2013


On Mon, Apr 01, 2013 at 11:50:28AM -0000, Stephen Warren wrote:

> From: Stephen Warren <swarren at nvidia.com>
> 
> The "mmc rescan" command takes no arguments. However, executing
> "mmc rescan 1" succeeds, leading the user to believe that MMC device 1
> has been rescanned. In fact, the "current" MMC device has been
> rescanned, and the current device may well not be 1. Add error-checking
> to the "mmc" command to explicitly reject any extra command-line
> arguments so that it's more obvious when U-Boot isn't doing what the
> user thought they asked it to.
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130403/e556541d/attachment.pgp>


More information about the U-Boot mailing list