[U-Boot] [PATCH] catch wrong load address passed to fatload / ext2load

Marek Vasut marex at denx.de
Wed Jul 9 23:07:56 CEST 2014


On Wednesday, July 09, 2014 at 10:42:57 PM, Pavel Machek wrote:
> If filename is passed instead of address to ext2load or fatload,
> u-boot silently accepts that, and uses 0 for load address and default
> filename from environment. That is confusing, display help instead.
> 
> Signed-off-by: Pavel Machek <pavel at denx.de>

The handling of simple_strtoul() in fs.c could use improvement like this in 
general. Do you mind expanding this patch ?

Best regards,
Marek Vasut


More information about the U-Boot mailing list