[coreboot] a simple zero fill patch

Myles Watson mylesgw at gmail.com
Thu Feb 28 00:13:55 CET 2008


On Wed, Feb 27, 2008 at 4:04 PM, Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2006 at gmx.net> wrote:
> On 27.02.2008 17:02, Myles Watson wrote:
>  > Could we just start with the image full of 0xff (when it is created)
>
>  That would be helpful in any case. Can you prepare a patch?
>

I should have looked first; it already does that in util/lar/stream.c

from lar_new_archive():

	/* Fill the whole thing with flash friendly 0xFFs */
	memset(lar->map, 0xFF, lar->size);

Myles

>  > and make this option go away?
>  >
>
>  Sorry, as Ron said, it's not that easy.
>
>
>
>  Regards,
>  Carl-Daniel
>
>  --
>  http://www.hailfinger.org/
>
>




More information about the coreboot mailing list