diff options
| author | Dominic Sacré <[email protected]> | 2014-11-05 00:30:18 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2014-11-07 16:27:07 -0500 |
| commit | ea19527c209b0d97b532a8dc5bf28f2cdd016888 (patch) | |
| tree | 62c64e36bf5c74df3e896f809d3df5de8c3988e4 /include/linux | |
| parent | c4c2e14102de60806e573c7132dadfd967c76fab (diff) | |
tools/env: Fix environment size and CRC on 64-bit hosts
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é <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Tom Rini <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
