Re: [flashrom] [PATCH 2/3] Make read before write configurable (infrastructure part)

2011-08-15 Thread Tadas Slotkus
> @@ -1961,11 +1961,13 @@ int doit(struct flashchip *flash, int force, const > char *filename, int read_it, > ret = 1; > goto out; > } > - } > - emerge

[flashrom] [PATCH 2/3] Make read before write configurable (infrastructure part)

2011-08-14 Thread Stefan Tauner
- Introduce a variable in doit() that allows to influence read-before-write and its consequences. - Rename handle_romentries to build_new_image and a description of its purpose. - Modify build_new_image so that it still works even if the old content is not read before. Signed-off-by: S