]> git.sur5r.net Git - u-boot/commit
mkenvimage: More error handling
authorDavid Wagner <david.wagner@free-electrons.com>
Fri, 13 Jan 2012 13:27:36 +0000 (13:27 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 27 Mar 2012 07:56:25 +0000 (09:56 +0200)
commit3d0f9bd0349712223d5be40aa69f4ca1a1965a3e
treec116a00a60d737806bdb3d7d026f224d54f8f68d
parentd1acdae98655af4a9ed1b138325ff172206d1c00
mkenvimage: More error handling

Verbosly fail if the target environment size or the padding byte are badly
formated.

Verbosly fail if something bad happens when reading from standard input.

Signed-off-by: David Wagner <david.wagner@free-electrons.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
tools/mkenvimage.c