1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-03 17:52:07 +02:00
Files
u-boot-megous/cmd
Andre Przywara f9a90ace21 arm64: fix arm64 Linux boot image header field sizes
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@arm.com>

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm64/booting.txt
2016-05-25 12:52:44 -04:00
..
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:08 -04:00
2016-03-14 15:34:50 -06:00
2016-05-02 18:37:09 -04:00
2016-04-18 17:11:36 -04:00
2016-02-22 16:21:12 +01:00
2016-02-06 12:00:59 +01:00
2016-05-23 15:18:00 +08:00
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:13 -04:00
2016-04-18 12:29:14 -04:00
2016-02-06 12:00:59 +01:00
2016-03-27 09:12:55 -04:00
2016-02-06 12:00:59 +01:00
2016-02-26 08:53:10 -07:00
2016-05-17 09:54:43 -06:00