Skip to content
Commit d9e4512d authored by Ryan C Johnson's avatar Ryan C Johnson Committed by Anas Nashif
Browse files

drivers: flash: w25q: erase operations must be erase-size aligned



 - Erase operations must be aligned to the erase-size.
 - Don't need to perform an alignment check on a full erase. The offset
   is not used in this case.
 - Don't need to perform alignment check on a sector sized erase, as
   this alignment is checked on entrance to the function.
 - Removed some whitespace.

Signed-off-by: default avatarRyan C Johnson <ryan.johnson@flex.com>
parent 8ae17cb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment