mkimage: Move argument processing into its own function
authorSimon Glass <sjg@chromium.org>
Tue, 23 Feb 2016 05:55:33 +0000 (22:55 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 18:19:01 +0000 (14:19 -0400)
commit0b443dee6b0a74ac59fdbeda7b5a667c209a5948
tree46f6120a69679c3abd4e354ee5b091fb3efdb653
parentfd1000b9c1d3c93aca1aae8253f5d179b2ceb431
mkimage: Move argument processing into its own function

At present main() is very long. Split out the argument processing to make
it easier to follow.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/mkimage.c