Partial backport of 'dummyflasher: Add a status register to SPI chips'

Here we renames 'JEDEC_RDSR_BIT_WIP' bit flag to 'SPI_SR_WIP' as well
as introduce the flags:

 /* Status Register Bits */
 #define SPI_SR_WIP	(0x01 << 0)
 #define SPI_SR_WEL	(0x01 << 1)
 #define SPI_SR_AAI	(0x01 << 6)
to spi.h for latter use in follow up resync commits.

This is a partial backport of the upstream `commit 5e695ab`.

There should be no semantic changes resulting from this at

TEST=still builds

Change-Id: Ifd917f25c9ddecaae938487218077b07206cec77
Signed-off-by: Edward O'Callaghan <>
Commit-Ready: ChromeOS CL Exonerator Bot <>
Reviewed-by: Sam McNally <>
5 files changed