catch wrong load address passed to fatload / ext2load
authorPavel Machek <pavel@denx.de>
Wed, 9 Jul 2014 20:42:57 +0000 (22:42 +0200)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:25 +0000 (07:44 -0400)
commit949bbd7c867026e7f8ecb71abe6ebd113eda84d2
treefa5eb57a7e130854a21c8aa1875f52b6a20c0d90
parent6b367467f154f03e154ade92125ae003083aaf7f
catch wrong load address passed to fatload / ext2load

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@denx.de>
fs/fs.c