Skip to content
Commit 57cf5284 authored by Georgij Cernysiov's avatar Georgij Cernysiov Committed by Carles Cufí
Browse files

drivers: flash: fix stm32 ospi prescaler



Original computation seems to be based on
QSPI that has prescaler range [0, 255].
However, OSPI clock prescaler has different
value range [1, 256].

Adapt prescaler computation to valid OSPI
domain and add min value assert.

Signed-off-by: default avatarGeorgij Cernysiov <geo.cgv@gmail.com>
parent 5c023fbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment