[U-Boot] tools/env: Fix environment size and CRC on 64-bit hosts

Tom Rini trini at ti.com
Mon Nov 10 22:27:45 CET 2014


On Wed, Nov 05, 2014 at 12:30:18AM +0100, Dominic Sacré wrote:

> On architectures where 'long' is 64 bit, the u-boot environment
> as seen by the fw_env tools was missing 4 bytes.
> This patch fixes getenvsize(), and thus also ensures that the
> environment's CRC32 checksum is calculated correctly.
> 
> Signed-off-by: Dominic Sacré <dominic.sacre at gmx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Tom Rini <trini at ti.com>

Applied to u-boot/master, thanks!

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


More information about the U-Boot mailing list