common/env_nand.c: calculate crc only when readenv was OK
Calculating the checksum of incompletely read data is useless. Signed-off-by: NPhil Sutter <phil.sutter@viprinet.com> [scottwood@freescale.com: minor formatting fix] Signed-off-by: NScott Wood <scottwood@freescale.com>
Showing
想要评论请 注册 或 登录