[U-Boot] [PATCH] disk: allow - or empty string to fall back to $bootdevice

Tom Rini trini at ti.com
Fri Sep 28 18:16:38 CEST 2012


On Fri, Sep 28, 2012 at 09:34:09AM -0600, Stephen Warren wrote:

> From: Stephen Warren <swarren at nvidia.com>
> 
> 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 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/20120928/87e0c77c/attachment.pgp>


More information about the U-Boot mailing list