Commit ea19527c209b0d97b532a8dc5bf28f2cdd016888
Committed by
Tom Rini
1 parent
c4c2e14102
Exists in
v2017.01-smarct4x
and in
37 other branches
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é <dominic.sacre@gmx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
tools/env/fw_env.c