From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 9 Jul 2014 23:07:56 +0200 Subject: [U-Boot] [PATCH] catch wrong load address passed to fatload / ext2load In-Reply-To: <20140709204257.GA28671@amd.pavel.ucw.cz> References: <20140709204257.GA28671@amd.pavel.ucw.cz> Message-ID: <201407092307.56541.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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