commit | 3c51a85c307244d502f49f47564f6c106d2210e4 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil.sutter@viprinet.com> | Thu Feb 21 18:21:56 2013 +0100 |
committer | Scott Wood <scottwood@freescale.com> | Fri Feb 22 19:59:53 2013 -0600 |
tree | 1064af3d3d74305468904b6a1a00969c941fe8f3 | |
parent | 190e58ad9382335d06907a24446d36f67ea9c7a1 [diff] |
common/env_nand.c: calculate crc only when readenv was OK Calculating the checksum of incompletely read data is useless. Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> [scottwood@freescale.com: minor formatting fix] Signed-off-by: Scott Wood <scottwood@freescale.com>