Skip to content
Snippets Groups Projects
Commit a10973e7 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

disk: allow - or empty string to fall back to $bootdevice


Commit 10a37fd7 "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: default avatarStephen Warren <swarren@nvidia.com>
parent cec2655c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment