[U-Boot] [PATCH] net: Use u32 instead of ulong for transaction ID in bootp
Joe Hershberger
joe.hershberger at gmail.com
Wed Apr 15 15:45:25 CEST 2015
Hi Michal,
On Wed, Apr 15, 2015 at 5:50 AM, Michal Simek <michal.simek at xilinx.com>
wrote:
>
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
>
> Based on rfc951 transaction ID has 4 bytes which is not the case when
> ulong type is used on ARM64.
> Use u32 type which is well defined for all archs.
>
> BOOTP_VENDOR_MAGIC is also 4 bytes.
>
> Based on RFC1048 Time Offset (code 2) is also 4bytes long
> and IP Address Lease Time also.
>
> The patch converts NetCopyLong to netcopy32 and NetReadLong to netread32
> to follow u-boot coding style.
>
> Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
This is a dup of https://patchwork.ozlabs.org/patch/459122/ which is
already included in a pull request here:
https://patchwork.ozlabs.org/patch/461424/
Thanks anyway,
-Joe
More information about the U-Boot
mailing list