Skip to content
Snippets Groups Projects
Commit a1eac57a authored by Phil Sutter's avatar Phil Sutter Committed by Scott Wood
Browse files

common/env_nand.c: calculate crc only when readenv was OK


Calculating the checksum of incompletely read data is useless.

Signed-off-by: default avatarPhil Sutter <phil.sutter@viprinet.com>
[scottwood@freescale.com: minor formatting fix]
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent b76a147b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment