Add generic 16 bit and 32 bit chip read/write emulation to the external flasher infrastructure

The emulation works by splitting 32 bit accesses into 16 bit accesses
and 16 bit accesses into to 8 bit accesses. That way, external flashers
can mix and match the amount of emulation they need.

Corresponding to flashrom svn r517.

Signed-off-by: Carl-Daniel Hailfinger <>
Acked-by: Uwe Hermann <>
4 files changed