From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 10 Nov 2014 16:27:45 -0500 Subject: [U-Boot] tools/env: Fix environment size and CRC on 64-bit hosts In-Reply-To: <1415143818-16306-1-git-send-email-dominic.sacre@gmx.de> References: <1415143818-16306-1-git-send-email-dominic.sacre@gmx.de> Message-ID: <20141110212745.GD24724@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? > Cc: Wolfgang Denk > Cc: Tom Rini 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: