Skip to content
Commit a2fa459f authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

drivers/spi_nor: fix writes across page boundaries



The previous code limited the length of a write to the size of a page,
but did not check whether the starting position was far enough into the
page that the write would still cross a page boundary.

NOTE: SPI NOR page size is fixed as 256 regardless of what Kconfig says.

Backport: 2.0 660149b5
Backport: 2.0 86dcf3c1

Signed-off-by: default avatarPeter A. Bigot <pab@pabigot.com>
parent 26665eb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment