sbtools: add support for the stmp36xx format
commit4e95b72ecbd972b9e1eb162c40a559b94eebac69
authorAmaury Pouly <amaury.pouly@gmail.com>
Mon, 26 Nov 2012 22:54:44 +0000 (26 23:54 +0100)
committerAmaury Pouly <amaury.pouly@gmail.com>
Mon, 26 Nov 2012 22:58:30 +0000 (26 23:58 +0100)
tree2c71c5b9c07ba5758d6faadb93a7b2c7a252aa7d
parent33b7ade67f67e1358a60e68d5e2c6d8959acd45b
sbtools: add support for the stmp36xx format

The STMP36xx series also uses .sb files but with a different
format. The main differences are the encryption and the lack of
sections, making it basically a list of commands: fill, load,
call, jump, switch mode, set sdram settings. Currently only the
sbtoelf has support for the sb1 and can only dump the list of
commands. Actual support for elf creation will come later.

Change-Id: I1f2e0230c91ac64efd0e8430e0c5212098c599fd
utils/imxtools/sbtools/Makefile
utils/imxtools/sbtools/crypto.c
utils/imxtools/sbtools/crypto.h
utils/imxtools/sbtools/sb1.c [new file with mode: 0644]
utils/imxtools/sbtools/sb1.h [new file with mode: 0644]
utils/imxtools/sbtools/sbtoelf.c