spi: flash: wait for operations to complete
This commit is contained in:
parent
5bafd2ac8f
commit
f20e7128eb
2 changed files with 23 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
|||
#define SPI_FLASH_MFR_DEV_ID 0x90
|
||||
#define SPI_FLASH_JEDEC_ID 0x9f
|
||||
|
||||
#define SPI_FLASH_READ_SR1 0x05
|
||||
#define SPI_FLASH_SR1_BUSY BIT(0)
|
||||
|
||||
#define SPI_FLASH_READ 0x03
|
||||
|
||||
#define SPI_FLASH_PAGE_PROGRAM 0x02
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue