[U-Boot] [PATCH] Crash in env_relocate_spec() of env_mmc.c

Stefano Babic sbabic at denx.de
Fri Oct 8 18:05:41 CEST 2010


Steve Sakoman wrote:

>> I'll revise my patch to add the missing gd->env_valid = 1; and re-test.
> 
> Hmm . . . looking at env_nand.c I see that it doesn't do gd->env_valid
> = 1 either, which is probably why I removed it last night.
> 
> Any idea whether it is actually required?  Seems to work fine without it!

I have understood, it is not required if we call env_import and we
require to verify the checksum.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list