[flashrom] [PATCH] dummyflasher.c: add an "content" parameter to select initialization data

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Fri Jul 22 00:16:49 CEST 2011


On Fri, 22 Jul 2011 00:08:41 +0200
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> wrote:

> previously the dummies were initialized to be empty (all ones), which makes
> writes skip erasing altogether. with this patch the default is to fill it with random
> bytes instead.
> additionally one can decide other options with the "content" parameter:
> content=ones - old behavior
> content=random - new default
> content=zeros - filled with 0x00
> content=increment - filled with i++

sorry, fixed commit log looks like:
dummyflasher.c: add a "content" parameter to select initialization data

previously the dummies were initialized to be empty (all ones), which makes
write operations skip erasing altogether. with this patch the default is to fill
it with random bytes instead.

additionally one can decide other options with the "content" parameter:
content=ones - old behavior
content=random - new default
content=zeros - filled with 0x00
content=increment - filled with i++

i am tired. gn8

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list