Skip to content

Commit 034396a

Browse files
committed
[nrf fromtree] drivers: flash_mspi_nor: Refactor handling of commands
- Use standard operation codes and parameters from SFDP for handling the used flash commands (allow to override some of them through dts with the `read-command`, `write-command`, and `rx-dummy` properties) - Use all available erase types as specified by SFDP - Allow using all IO modes - Add support for switching to 4-byte addressing mode - Use common functions for reading and writing of status registers and for enabling write operations - Switch IO mode (between the target one and Single IO) in a common function that performs transfers and do it only when required for a given command - Make checking of JEDEC ID at initialization optional Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit cafa288)
1 parent 6c308a7 commit 034396a

File tree

5 files changed

+551
-528
lines changed

5 files changed

+551
-528
lines changed

0 commit comments

Comments
 (0)