fip_create: miscellaneous improvements to source code
authorJuan Castillo <juan.castillo@arm.com>
Mon, 15 Feb 2016 17:21:10 +0000 (17:21 +0000)
committerJuan Castillo <juan.castillo@arm.com>
Fri, 4 Mar 2016 09:34:01 +0000 (09:34 +0000)
commit24fee61e543a6268b3565b9a7088939f8a85e705
treef25c8888da3184dc3f0b128befc9584005d4d2ca
parent85320724af73d0015d2cb0e99d59c292290b6ce5
fip_create: miscellaneous improvements to source code

This patch introduces the following improvements:

  * Global variables in fip_create.c declared static.
  * Flags to signal the requested actions (do_dump, do_pack) made
    global.
  * The ToC is printed at the end of the main funcion, after the FIP
    has been created/updated, not in the parse_cmdline() function.
  * Short format added to the command line options (-d,--dump;
    -h,--help).
  * Help message updated.

Change-Id: I5f08273c76f1de45fe597e290bee4b60aa404df9
tools/fip_create/fip_create.c