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

Pavel Machek pavel at denx.de
Thu Jul 10 00:57:33 CEST 2014


On Wed 2014-07-09 23:07:56, Marek Vasut wrote:
> 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 ?

I'd prefer not to do that at this moment: I don't have working-enough
u-boot and hate to do changes without testing.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the U-Boot mailing list