Skip to content
Commit bfb56c5e authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

drivers: flash: nrf_qspi_nor: support read of sub-word lengths



mcuboot and possibly other tools read single byte values to determine
the state of objects.  Rather than fail to do the read of values too
short for this peripheral detect the situation and read into a stack
buffer that meets the length criteria, and on success copy the data
into the provided buffer.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 2ef135dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment