ls102xa: pblimage: Add pblimage tool support for LS102xA
authorAlison Wang <b18965@freescale.com>
Wed, 3 Dec 2014 07:00:41 +0000 (15:00 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 11 Dec 2014 17:36:34 +0000 (09:36 -0800)
commit94cb17d0786867b8bffb684adb48f7111d9d5b63
tree50d099cbf8989e4a109bf371fa4ae287bbfcb5a7
parentafff13790e38eea6378801616b1749464f796ad3
ls102xa: pblimage: Add pblimage tool support for LS102xA

For LS102xA, the size of spl/u-boot-spl.bin is variable.
This patch adds the support to deal with the variable
u-boot size in pblimage tool. It will be padded to 64
byte boundary.

Use pblimage_check_params() to add the specific operations
for ARM, such as PBI CRC and END command and the calculation
of pbl_cmd_initaddr.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Makefile
tools/pblimage.c