[U-Boot] arm64: fix arm64 Linux boot image header field sizes

Tom Rini trini at konsulko.com
Thu May 26 17:49:52 CEST 2016


On Wed, May 25, 2016 at 09:48:14AM +0100, Andre Przywara wrote:

> The arm64 Linux boot protocol [1] describes the fields in the Image
> header as being 64-bit little endian values.
> So fix the endianess conversion to use 64-bit sized operations, for
> both image_size and text_offset.
> Also we use a local variable for the image_size to avoid both writing
> to the header and also accessing it after we actually unmapped it.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> 
> [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.txt

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160526/ab090b70/attachment.sig>


More information about the U-Boot mailing list