diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-04-01 11:50:28 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-02 16:23:35 -0400 |
commit | 9fd383724cf49b5fd787c62169569d870857d611 (patch) | |
tree | 825f0847e12e13140ab6b9723d579379f0d0f1e0 /board/csb472 | |
parent | 5993053fa42706b289a08f3661a9c00096158981 (diff) | |
download | u-boot-imx-9fd383724cf49b5fd787c62169569d870857d611.zip u-boot-imx-9fd383724cf49b5fd787c62169569d870857d611.tar.gz u-boot-imx-9fd383724cf49b5fd787c62169569d870857d611.tar.bz2 |
mmc: don't allow extra cmdline arguments
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@nvidia.com>
Diffstat (limited to 'board/csb472')
0 files changed, 0 insertions, 0 deletions