Re: [U-Boot] [PATCHv2 4/4] common/env_nand.c: calculate crc only when readenv was OK

2013-02-22 Thread Scott Wood
On Thu, Feb 21, 2013 at 06:21:56PM +0100, Phil Sutter wrote: > Calculating the checksum of incompletely read data is useless. > > Signed-off-by: Phil Sutter > --- > common/env_nand.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/common/env_nand.c b/common/env_

[U-Boot] [PATCHv2 4/4] common/env_nand.c: calculate crc only when readenv was OK

2013-02-21 Thread Phil Sutter
Calculating the checksum of incompletely read data is useless. Signed-off-by: Phil Sutter --- common/env_nand.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index 60a87ec..0e1d17a 100644 --- a/common/env_nand.c +++ b/common/env