Skip to content
Commit 19948654 authored by Florian Vaussard's avatar Florian Vaussard Committed by Fabio Baltieri
Browse files

drivers: flash: stm32l5: use write-block-size when validating



STM32L5 have a write block size of 8, but STM32U5 and STM32H5 have a
write block size of 16. Use write-block-size from the device tree
instead of hardcoding this value when validating the range of write
operations.

Fixes #60724

Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@gmail.com>
parent 96768ea2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment