]> git.sur5r.net Git - u-boot/commit
tools/kwbimage: fix endianess issue
authorReinhard Pfau <reinhard.pfau@gdsys.cc>
Sun, 29 Nov 2015 14:48:25 +0000 (15:48 +0100)
committerLuka Perkov <luka.perkov@sartura.hr>
Sun, 29 Nov 2015 15:02:44 +0000 (16:02 +0100)
commita8840dced0745165073b3d7163ee42404da09bdc
tree3974d2ee18388967b699b1616dc147581b6856f9
parent777208593012d03a8b839bd03f0e7f2129bf1b83
tools/kwbimage: fix endianess issue

KWB image header values are in little endian (LE).
So adding appropriate cpu_to_leXX() calls to allow building those images
on BE hosts, too.

Signed-off-by: Reinhard Pfau <reinhard.pfau@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.c
tools/kwbimage.h