Skip to content
Commit d1abe40f authored by Jordan Yates's avatar Jordan Yates Committed by Johan Hedberg
Browse files

flash: nrf_qspi_nor: wait for erase to complete



Wait until the erase operation triggered by `qspi_erase` completes
before returning. This aligns with the behaviour of other flash drivers
like `spi_nor` and `soc_flash_nrf`.

A delay is added to the `qspi_wait_while_writing` to prevent the check
from monopolising the CPU.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent 22a615b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment