Commit 64e0c6d
committed
[nrf fromlist] 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
Upstream PR #: 93093
Signed-off-by: Andrzej Głąbek <[email protected]>1 parent 48cab3f commit 64e0c6d
File tree
5 files changed
+435
-490
lines changed- drivers/flash
- dts/bindings/mtd
5 files changed
+435
-490
lines changed
0 commit comments