ARM: mxs: tools: Add mkimage support for MXS bootstream
authorMarek Vasut <marex@denx.de>
Mon, 26 Aug 2013 18:43:33 +0000 (20:43 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 31 Aug 2013 13:26:52 +0000 (15:26 +0200)
commitbce8837071617a13f8e28f60400ee826b3f8a308
treeee7433ef2100a5ade7d01b5d8f44042002bd6e54
parentb83c709e8d3f29721f32d66f19f953a2f818afbc
ARM: mxs: tools: Add mkimage support for MXS bootstream

Add mkimage support for generating and verifying MXS bootstream.
The implementation here is mostly a glue code between MXSSB v0.4
and mkimage, but the long-term goal is to rectify this and merge
MXSSB with mkimage more tightly. Once this code is properly in
U-Boot, MXSSB shall be deprecated in favor of mkimage-mxsimage
support.

Note that the mxsimage generator needs libcrypto from OpenSSL, I
therefore enabled the libcrypto/libssl unconditionally.

MXSSB: http://git.denx.de/?p=mxssb.git;a=summary

The code is based on research presented at:
http://www.rockbox.org/wiki/SbFileFormat

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
arch/arm/cpu/arm926ejs/mxs/mxsimage.mx23.cfg [new file with mode: 0644]
arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg [new file with mode: 0644]
common/image.c
config.mk
doc/README.mxsimage [new file with mode: 0644]
include/image.h
tools/Makefile
tools/mkimage.c
tools/mkimage.h
tools/mxsimage.c [new file with mode: 0644]
tools/mxsimage.h [new file with mode: 0644]