From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Wed, 9 Jul 2014 22:46:34 +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: <20140709204634.GA28706@amd.pavel.ucw.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 is untested. I'm currently fighting hard to get recent u-boot to run on socfpga. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html