Only write the flash if the image has the same size

Corresponding to flashrom svn r76 and coreboot v2 svn r2503.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
1 file changed