summaryrefslogtreecommitdiff
path: root/nandwrite.c
diff options
context:
space:
mode:
authorPaul McGougan <PMcGougan@topcon.com>2014-04-17 05:09:26 +0000
committerBrian Norris <computersforpeace@gmail.com>2015-09-29 15:48:32 -0700
commit4a95eddcd1d599eb0d61677dab0e879e5ea51e78 (patch)
tree15f2c1868586eb670efb585ac8525e5ab025cacd /nandwrite.c
parent5f50207231414bfdbac8f0f974a2824f24177d6e (diff)
mtd: tests: Fix endian issue with CRC generation algorithm
The calculation of the CRC in /tests/checkfs/makefiles.c was writing the CRC Into the produced files in host byte-order which would cause CRC validation to fail on big-endian systems as the validation is performed bytewise. Signed-off-by: Paul McGougan <pmcgougan AT topcon.com> [Brian: add endian.h] Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'nandwrite.c')
0 files changed, 0 insertions, 0 deletions