Add a dummy SPI controller driver, similar to the dummy LPC/FWH/Parallel flasher driver

Does not support reading or writing the fake chip yet.

flashrom --programmer dummy
also enables the dummy SPI controller driver.

Testing the dummy SPI driver revealed a RDID debug printing bug in the
SPI core. Fix that as well.

Corresponding to flashrom svn r507.

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