Skip to content
Commit 204612b3 authored by Peter Bigot's avatar Peter Bigot Committed by Maureen Helm
Browse files

drivers: flash: at45: improve diagnostics/behavior of erase



Erase can only succeed if the address is sector-aligned, and the span
to erase is an integer multiple of the sector size.  Validate this
before starting the process of erasing things.

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