diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-28 05:34:09 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-28 16:15:35 (GMT) |
commit | a10973e7fac1e0338c9c0bb79ae114d869b6200f (patch) | |
tree | 5b974c9e015021aa8da82eb572e653830977d689 /test | |
parent | cec2655c3b3b86f14a6a5c2cbb01833f7e3974be (diff) | |
download | u-boot-a10973e7fac1e0338c9c0bb79ae114d869b6200f.tar.xz |
disk: allow - or empty string to fall back to $bootdevice
Commit 10a37fd "disk: get_device_and_partition() "auto" partition"
prevented the use of "-" on the command-line to request fallback to the
$bootdevice environment variable instead. This patch allows that, or an
empty string "" to be used.
Tested:
setenv bootfile /boot/zImage
setenv bootdevice 0:1
ext2load mmc 0:1
ext2load mmc -
ext2load mmc ""
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions