cmd: Split 'bootz' and 'booti' out from 'bootm'
authorTom Rini <trini@konsulko.com>
Fri, 12 Aug 2016 12:31:15 +0000 (08:31 -0400)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:35:07 +0000 (11:35 -0400)
commit5db28905c952560843212236963e9f711341cad5
tree9e2546824158101b69ac0e2a102d7c34920c9d69
parentf2a9942fbc47491cc5f5151670c42d43dc0544cb
cmd: Split 'bootz' and 'booti' out from 'bootm'

The bootz and booti commands rely on common functionality that is found
in common/bootm.c and common/bootm_os.c.  They do not however rely on
the rest of cmd/bootm.c to be implemented so split them into their own
files.  Have various Makefiles include the required infrastructure for
CONFIG_CMD_BOOT[IZ] as well as CONFIG_CMD_BOOTM.  Move the declaration
of 'images' over to common/bootm.c.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/lib/Makefile
arch/sandbox/lib/Makefile
cmd/Makefile
cmd/booti.c [new file with mode: 0644]
cmd/bootm.c
cmd/bootz.c [new file with mode: 0644]
common/Makefile
common/bootm.c