[U-Boot-Users] byteorder of image_header_t members?

Steven Scholz steven.scholz at imc-berlin.de
Fri Jun 10 17:05:23 CEST 2005


Hi there,

I wrote:

> if uint32_t members of image_header_t are stored in network byteorder, 
> then all references of these members should use ntohl(), right?
> 
> So should we fix this for instance:

Maybe you want to consider the attached patch.

* Patch by Steven Scholz, 10 Jun 2005:
    Adding loads of ntohl() in image header handling (for the sake
    of readability)

--
Steven



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: u-boot_htonl.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050610/f9900e57/attachment.txt 


More information about the U-Boot mailing list