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

2014-07-09 Thread Pavel Machek
On Thu 2014-07-10 01:08:28, Wolfgang Denk wrote: > Dear Pavel Machek, > > In message <20140709204257.ga28...@amd.pavel.ucw.cz> you 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

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

2014-07-09 Thread Wolfgang Denk
Dear Pavel Machek, In message <20140709204257.ga28...@amd.pavel.ucw.cz> you 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. >

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

2014-07-09 Thread Pavel Machek
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 conf

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

2014-07-09 Thread Marek Vasut
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

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

2014-07-09 Thread Pavel Machek
Hi! > 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 Oops and actually I should warn... this patch

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

2014-07-09 Thread Pavel Machek
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 diff --git a/fs/fs.c b/fs/fs.c index 79d432d..ea15c5f 100644